Skip to content

Commit 5dcb04b

Browse files
committed
Simplify and harmonize script input
1 parent a2e9e63 commit 5dcb04b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metafacture-flux/src/test/java/org/metafacture/flux/FluxGrammarTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void setup() {
5454
@Test
5555
public void shouldAllowEmptyCommentInLastLineOfFile()
5656
throws RecognitionException, IOException {
57-
final String script = "\"test\"|write(\"stdout\"); //";
57+
final String script = "\"test\"|print; //";
5858

5959
FluxCompiler.compile(createInputStream(script), emptyMap());
6060

@@ -65,7 +65,7 @@ public void shouldAllowEmptyCommentInLastLineOfFile()
6565
@Test
6666
public void shouldAllowEmptyCommentInFile()
6767
throws RecognitionException, IOException {
68-
final String script = "\"test\"|write(\"stdout\"); //\n";
68+
final String script = "\"test\"|print; //\n";
6969

7070
FluxCompiler.compile(createInputStream(script), emptyMap());
7171

@@ -78,7 +78,7 @@ public void shouldReplaceJavaEscapeSequences()
7878
throws IOException, RecognitionException {
7979
final String script =
8080
"\"quot=\\\" octal1=\\7 octal2=\\60 octal3=\\103 unicode=\\u00f8 tab=[\\t]\"" +
81-
"|write(\"stdout\");";
81+
"|print;";
8282

8383
final FluxProgramm program = FluxCompiler.compile(
8484
createInputStream(script), emptyMap());

0 commit comments

Comments
 (0)