Skip to content

Commit

Permalink
[SQLLINE-255] Explicitly set incremental property inside sqlline.SqlL…
Browse files Browse the repository at this point in the history
…ineArgsTest#testMultilineScriptWithH2Comments
  • Loading branch information
snuyanzin authored and julianhyde committed Jan 11, 2019
1 parent 198447d commit 0352bc2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/test/java/sqlline/SqlLineArgsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,17 @@ public void testMultilineScriptWithH2Comments() {
new BufferedWriter(
new OutputStreamWriter(new FileOutputStream(tmpHistoryFile),
StandardCharsets.UTF_8))) {
bw.write("\n\nselect * from information_schema.tables// ';\n"
final String script = "\n"
+ "\n"
+ "!set incremental true\n"
+ "\n"
+ "\n"
+ "select * from information_schema.tables// ';\n"
+ "// \";"
+ ";\n"
+ "\n"
+ "\n");
+ "\n";
bw.write(script);
bw.flush();
}
SqlLine.Status status =
Expand Down

0 comments on commit 0352bc2

Please sign in to comment.