From d48293b9bd1eac7237a6f101c1ec12f1e75d293f Mon Sep 17 00:00:00 2001 From: Marja van Aken Date: Fri, 15 Mar 2024 09:51:35 +0100 Subject: [PATCH] #400: Fix DefUntilTest after merge. --- core/src/test/java/io/parsingdata/metal/token/DefUntilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/io/parsingdata/metal/token/DefUntilTest.java b/core/src/test/java/io/parsingdata/metal/token/DefUntilTest.java index f3b4a4fa..b3940232 100644 --- a/core/src/test/java/io/parsingdata/metal/token/DefUntilTest.java +++ b/core/src/test/java/io/parsingdata/metal/token/DefUntilTest.java @@ -221,7 +221,7 @@ void listsSemanticsTest() { () -> assertEquals(11, parse.get().offset.intValue()), () -> assertEquals(11, offsets.size()), () -> assertIterableEquals(List.of(0, 6, 12, 5, 10, 15, 7, 8, 9, 10, 11), offsets), - () -> assertEquals("01234567890", getAllValues(parse.get().order, "test").head.asString()) + () -> assertEquals("01234567890", getAllValues(parse.get().order, "test").get(0).asString()) ); }