Skip to content

Commit

Permalink
fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowekyala authored and lhstrh committed Jan 6, 2024
1 parent 852d42a commit 5d8c01f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/test/java/org/lflang/tests/LFParsingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public void testLexingEmptyTargetProperties() throws Exception {

@Test
public void testParsingTargetPropertyAsString() throws Exception {
assertNoParsingErrorsIn("target C { \"a c time reactor\": 2 };");
assertNoParsingErrorsIn("target C { \"reactor\": 2 };");
expectParsingErrorIn("target C { reactor: 2 };");
assertNoParsingErrorsIn("target C { \"a c time reactor\": 2 }; reactor Foo{}");
assertNoParsingErrorsIn("target C { \"reactor\": 2 }; reactor Foo{}");
expectParsingErrorIn("target C { reactor: 2 }; reactor Foo{}");

// array elements
// assertNoParsingErrorsIn("target C {x:[ ]}; \nreactor Foo {}");
Expand Down

0 comments on commit 5d8c01f

Please sign in to comment.