From 8875fb8dc39e0c065ec2ecabb44b3f4d74798d8d Mon Sep 17 00:00:00 2001 From: Willem Veelenturf Date: Thu, 5 Dec 2024 21:45:31 +0100 Subject: [PATCH] Fix build --- .../kotlin/community/flock/wirespec/generator/GeneratorTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/generator/src/commonTest/kotlin/community/flock/wirespec/generator/GeneratorTest.kt b/src/tools/generator/src/commonTest/kotlin/community/flock/wirespec/generator/GeneratorTest.kt index cc19dc649..b8857833f 100644 --- a/src/tools/generator/src/commonTest/kotlin/community/flock/wirespec/generator/GeneratorTest.kt +++ b/src/tools/generator/src/commonTest/kotlin/community/flock/wirespec/generator/GeneratorTest.kt @@ -60,7 +60,7 @@ class GeneratorTest { fun generatePrimitive() { val ast = parser(src) val random = Random(0L) - val res = ast.generate(Primitive(Type.String(), isIterable = false, isDictionary = false), random) + val res = ast.generate(Primitive(Type.String, isIterable = false, isDictionary = false), random) val expect = "ZKN8V5p8ktkmmMX" assertEquals(expect, res.jsonPrimitive.content) }