Skip to content

Commit 2139159

Browse files
committed
checker with await
1 parent be410bf commit 2139159

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/org/labkey/test/tests/SampleTypeTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.labkey.test.tests;
1818

19+
import org.apache.commons.csv.CSVFormat;
1920
import org.apache.commons.io.FileUtils;
2021
import org.apache.poi.ss.usermodel.Sheet;
2122
import org.assertj.core.api.Assertions;
@@ -966,10 +967,10 @@ public void testUpdateAndDeleteWithCommentsAndFlags() throws IOException
966967
}
967968

968969
List<String> fileData = new ArrayList<>();
969-
fileData.add(String.format("%s\t%s", "Name", field01.getLabel()));
970+
fileData.add(CSVFormat.TDF.format("Name", field01.getLabel()));
970971
for(Map<String, String> sample : sampleData)
971972
{
972-
fileData.add(String.format("%s\t%s", sample.get("Name"), sample.get(field01.getName())));
973+
fileData.add(CSVFormat.TDF.format(sample.get("Name"), sample.get(field01.getName())));
973974
}
974975

975976
String fileName = "SampleTypeTest_UpdateSamples.tsv";

0 commit comments

Comments
 (0)