JAL-1954 formatting
authorJim Procter <jprocter@issues.jalview.org>
Fri, 30 Oct 2015 12:08:01 +0000 (12:08 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 30 Oct 2015 12:08:01 +0000 (12:08 +0000)
test/jalview/io/PfamFormatInputTest.java

index 46e5af7..5dd4ecb 100644 (file)
@@ -12,8 +12,8 @@ public class PfamFormatInputTest
   @Test
   public void testPfamFormatNoLimits() throws IOException
   {
-    AlignmentI al = new jalview.io.AppletFormatAdapter().readFile(
-            "ASEQ\t...--FFAFAFF--", AppletFormatAdapter.PASTE, "PFAM");
+    AlignmentI al = new jalview.io.AppletFormatAdapter().readFile("ASEQ"
+            + '\t' + "...--FFAFAFF--", AppletFormatAdapter.PASTE, "PFAM");
     Assert.assertEquals(1, al.getHeight(), "Wrong number of sequences");
     Assert.assertTrue(al.hasValidSequence(),
             "Didn't extract limits from PFAM ID");
@@ -22,9 +22,9 @@ public class PfamFormatInputTest
   @Test
   public void testPfamFormatValidLimits() throws IOException
   {
-    AlignmentI al = new jalview.io.AppletFormatAdapter()
-            .readFile("ASEQ/15-25\t...--FFAFAFF--",
-                    AppletFormatAdapter.PASTE, "PFAM");
+    AlignmentI al = new jalview.io.AppletFormatAdapter().readFile(
+            "ASEQ/15-25" + '\t' + "...--FFAFAFF--",
+            AppletFormatAdapter.PASTE, "PFAM");
     Assert.assertEquals(1, al.getHeight(), "Wrong number of sequences");
     Assert.assertTrue(al.hasValidSequence(),
             "Didn't extract limits from PFAM ID");