From 724c748499565c79f99171752d9b3effb3043fc4 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 12 Feb 2018 16:43:30 +0000 Subject: [PATCH] =?utf8?q?JAL-2780=20use=20value=20of=20=E2=80=99UNASSIGNED=E2?= =?utf8?q?=80=99=20constant=20in=20assert=20verifying=20expected=20unassigne?= =?utf8?q?d=20positions?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/jalview/ws/sifts/SiftsClientTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2