Skip to content

Commit

Permalink
on-demand struct fields solves two problems seen here
Browse files Browse the repository at this point in the history
  • Loading branch information
arnej27959 committed Mar 11, 2022
1 parent 5fe393b commit 0f06668
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@ public void testMapDefaults() throws IOException, ParseException {

@Test
public void testMapWithStructSettings() throws IOException, ParseException {
/*
* does not work
* does not pick up settings from struct declaration
assertCorrectDeriving("matchsettings_map_wss",
new TestProperties().setExperimentalSdParsing(false));
*/
assertCorrectDeriving("matchsettings_map_wss",
new TestProperties().setExperimentalSdParsing(true));
}
Expand All @@ -74,11 +70,8 @@ public void testMapWithFieldSettings() throws IOException, ParseException {

@Test
public void testMapAfter() throws IOException, ParseException {
/* fails with:
java.lang.IllegalArgumentException: Could not find struct 'elem'.
assertCorrectDeriving("matchsettings_map_after",
new TestProperties().setExperimentalSdParsing(false));
*/
assertCorrectDeriving("matchsettings_map_after",
new TestProperties().setExperimentalSdParsing(true));
}
Expand Down

0 comments on commit 0f06668

Please sign in to comment.