We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 349dc92 commit 0ee79d8Copy full SHA for 0ee79d8
tool/src/test/java/de/monticore/ocl/tool/OCLToolTest.java
@@ -35,7 +35,7 @@ public void setup() {
35
public void testPrettyPrint() throws IOException {
36
ByteArrayOutputStream out = new ByteArrayOutputStream();
37
System.setOut(new PrintStream(out));
38
- OCLTool.main(new String[] {"-i", oclv1, "-pp"});
+ new OCLTool().run(new String[] {"-i", oclv1, "-pp"});
39
String printed = out.toString().trim();
40
assertNotNull(printed);
41
Optional<ASTOCLCompilationUnit> astOpt = OCLMill.parser().parse_String(printed);
0 commit comments