Skip to content

Commit 64d0c60

Browse files
author
mgeipel
committed
testcase fixed
wormhole example added
1 parent 3998870 commit 64d0c60

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

examples/misc/wormholes/wormhole.flux

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
3+
4+
5+
"A"|
6+
template("${o}")|
7+
template("x${o}")|
8+
@X;
9+
10+
"B"|
11+
template("x${o}")|
12+
@X;
13+
14+
@X|
15+
template("${o}")|
16+
write("stdout");
17+
18+
19+
"C"|
20+
template("x${o}")|
21+
@X;

src/test/java/org/culturegraph/mf/flux/FlowTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.io.PrintStream;
2020

2121
import org.apache.commons.io.output.NullOutputStream;
22+
import org.culturegraph.mf.flux.parser.FluxProgramm;
2223
import org.junit.Test;
2324

2425
/**
@@ -32,7 +33,7 @@ public final class FlowTest {
3233
@Test
3334
public void testCommandRegistration() {
3435
// all commands must properly load to print the help
35-
Flow.printHelp(new PrintStream(new NullOutputStream()));
36+
FluxProgramm.printHelp(new PrintStream(new NullOutputStream()));
3637

3738
}
3839
}

0 commit comments

Comments
 (0)