From cbe45599f7b46d7a0674a62d424b9485e7735d45 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 19 Dec 2024 16:25:56 +0000 Subject: Add missing assertion for positional vs non-positional fields --- .../java/org/shedlang/compiler/parser/ParserStructDefinitionTests.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/shedlang/compiler/parser/ParserStructDefinitionTests.java b/src/test/java/org/shedlang/compiler/parser/ParserStructDefinitionTests.java index 665da1e5..b450506e 100644 --- a/src/test/java/org/shedlang/compiler/parser/ParserStructDefinitionTests.java +++ b/src/test/java/org/shedlang/compiler/parser/ParserStructDefinitionTests.java @@ -47,6 +47,7 @@ public class ParserStructDefinitionTests { .withName("accessLevel") .withType(isUntypedTypeLevelReferenceNode("AccessLevel")) )) + .withFieldsArePositional(false) ); } @@ -70,6 +71,7 @@ public class ParserStructDefinitionTests { .withName("accessLevel") .withType(isUntypedTypeLevelReferenceNode("AccessLevel")) )) + .withFieldsArePositional(true) ); } -- cgit v1.2.3