From: Jim Procter Date: Fri, 23 Jan 2015 15:33:06 +0000 (+0000) Subject: JAL-1541 changed assert to JUnit assert - test now fails for current version of BioJS... X-Git-Tag: Jalview_2_9~108^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58c0174b45e573fb57d6b799d3e1e903dcd0972b;p=jalview.git JAL-1541 changed assert to JUnit assert - test now fails for current version of BioJS export method --- diff --git a/test/jalview/io/BioJsHTMLOutputTest.java b/test/jalview/io/BioJsHTMLOutputTest.java index cbda794..4b817ab 100644 --- a/test/jalview/io/BioJsHTMLOutputTest.java +++ b/test/jalview/io/BioJsHTMLOutputTest.java @@ -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) {