From: Jim Procter Date: Mon, 12 Feb 2018 16:43:30 +0000 (+0000) Subject: JAL-2780 use value of ’UNASSIGNED’ constant in assert verifying expected unassigned... X-Git-Tag: Release_2_10_4~68^2~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=724c748499565c79f99171752d9b3effb3043fc4;p=jalview.git JAL-2780 use value of ’UNASSIGNED’ constant in assert verifying expected unassigned positions --- diff --git a/test/jalview/ws/sifts/SiftsClientTest.java b/test/jalview/ws/sifts/SiftsClientTest.java index b92766e..5e830ab 100644 --- a/test/jalview/ws/sifts/SiftsClientTest.java +++ b/test/jalview/ws/sifts/SiftsClientTest.java @@ -311,7 +311,7 @@ public class SiftsClientTest atom.atomIndex = 7; atoms.add(atom); int actualAtomIndex = siftsClient.getAtomIndex(1, atoms); - Assert.assertEquals(actualAtomIndex, -1); + Assert.assertEquals(actualAtomIndex, siftsClient.UNASSIGNED); actualAtomIndex = siftsClient.getAtomIndex(43, atoms); Assert.assertEquals(actualAtomIndex, 7); }