}
}
static void check(String source, String[][] expected) {
final InputStream in = new ByteArrayInputStream(source.getBytes(UTF8));
final TsvReader tsv = new TsvReader(in);
List<String[]> list = new LinkedList<String[]>();
do {
try {
String[] next = tsv.nextRow();
if (next == null)
break;
list.add(next);
} catch (IOException e) {
assert false;