Skip to content

Commit 0ee79d8

Browse files
committed
use run instead of main
1 parent 349dc92 commit 0ee79d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/src/test/java/de/monticore/ocl/tool/OCLToolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void setup() {
3535
public void testPrettyPrint() throws IOException {
3636
ByteArrayOutputStream out = new ByteArrayOutputStream();
3737
System.setOut(new PrintStream(out));
38-
OCLTool.main(new String[] {"-i", oclv1, "-pp"});
38+
new OCLTool().run(new String[] {"-i", oclv1, "-pp"});
3939
String printed = out.toString().trim();
4040
assertNotNull(printed);
4141
Optional<ASTOCLCompilationUnit> astOpt = OCLMill.parser().parse_String(printed);

0 commit comments

Comments
 (0)