From: Jim Procter Date: Mon, 12 Feb 2018 17:13:12 +0000 (+0000) Subject: JAL-2904 JAL-2780 JAL-2781 update JmolCommandsTest for removal of redundant first... X-Git-Tag: Release_2_10_4~68^2~15 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=89f7e3e9f47ed019f817db123bb2ce8749870b55;p=jalview.git JAL-2904 JAL-2780 JAL-2781 update JmolCommandsTest for removal of redundant first semicolon in commandset --- diff --git a/test/jalview/ext/jmol/JmolCommandsTest.java b/test/jalview/ext/jmol/JmolCommandsTest.java index 3309adf..e42b54f 100644 --- a/test/jalview/ext/jmol/JmolCommandsTest.java +++ b/test/jalview/ext/jmol/JmolCommandsTest.java @@ -115,7 +115,7 @@ public class JmolCommandsTest String chainACommand = commands[0].commands[0]; // M colour is #82827d == (130, 130, 125) (see strand.html help page) assertTrue(chainACommand - .contains(";select 21:A/1.1;color[130,130,125]")); + .contains("select 21:A/1.1;color[130,130,125]")); // first one // H colour is #60609f == (96, 96, 159) assertTrue(chainACommand.contains(";select 22:A/1.1;color[96,96,159]")); // hidden columns are Gray (128, 128, 128) @@ -128,7 +128,7 @@ public class JmolCommandsTest String chainBCommand = commands[1].commands[0]; // M colour is #82827d == (130, 130, 125) assertTrue(chainBCommand - .contains(";select 21:B/2.1;color[130,130,125]")); + .contains("select 21:B/2.1;color[130,130,125]")); // V colour is #ffff00 == (255, 255, 0) assertTrue(chainBCommand .contains(";select 22:B/2.1;color[255,255,0]"));