JAL-1541 changed assert to JUnit assert - test now fails for current version of BioJS...
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 23 Jan 2015 15:33:06 +0000 (15:33 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 23 Jan 2015 15:33:06 +0000 (15:33 +0000)
test/jalview/io/BioJsHTMLOutputTest.java

index cbda794..4b817ab 100644 (file)
@@ -32,8 +32,11 @@ public class BioJsHTMLOutputTest
     {
       String generatedJson = bioJsHtmlOuput
               .getJalviewAlignmentAsJsonString(al);
-      assert (generatedJson
-              .equalsIgnoreCase("{\"globalColorScheme\":\"zappo\",\"seqs\":[{\"id\":\"1\",\"start\":1,\"name\":\"name/1-26\",\"features\":[],\"seq\":\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",\"end\":26}]}"));
+      org.junit.Assert
+              .assertEquals(
+                      generatedJson.toLowerCase(),
+                      "{\"globalColorScheme\":\"zappo\",\"seqs\":[{\"id\":\"1\",\"start\":1,\"name\":\"name/1-26\",\"features\":[],\"seq\":\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",\"end\":26}]}"
+                              .toLowerCase());
       System.out.println("Output : " + generatedJson);
     } catch (IOException e)
     {