提交 7098a51d authored 作者: Noel Grandin's avatar Noel Grandin

we don't report output line no anymore

we report input line no, which is more useful
上级 2b50ee7a
...@@ -47,7 +47,6 @@ public class TestScript extends TestBase { ...@@ -47,7 +47,6 @@ public class TestScript extends TestBase {
private Statement stat; private Statement stat;
private String fileName; private String fileName;
private LineNumberReader in; private LineNumberReader in;
private int outputLineNo;
private PrintStream out; private PrintStream out;
private final ArrayList<String[]> result = New.arrayList(); private final ArrayList<String[]> result = New.arrayList();
private String putBack; private String putBack;
...@@ -176,7 +175,6 @@ public class TestScript extends TestBase { ...@@ -176,7 +175,6 @@ public class TestScript extends TestBase {
stat = null; stat = null;
fileName = null; fileName = null;
in = null; in = null;
outputLineNo = 0;
out = null; out = null;
result.clear(); result.clear();
putBack = null; putBack = null;
...@@ -513,7 +511,6 @@ public class TestScript extends TestBase { ...@@ -513,7 +511,6 @@ public class TestScript extends TestBase {
} }
private void write(String s) { private void write(String s) {
outputLineNo++;
out.println(s); out.println(s);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论