From 58c0174b45e573fb57d6b799d3e1e903dcd0972b Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 23 Jan 2015 15:33:06 +0000 Subject: [PATCH] JAL-1541 changed assert to JUnit assert - test now fails for current version of BioJS export method --- test/jalview/io/BioJsHTMLOutputTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) { -- 1.7.10.2