From 5cb47caa42cfeb283792c6781ff9c978d978391a Mon Sep 17 00:00:00 2001 From: Federico Tomassetti Date: Fri, 30 Jun 2023 14:38:45 +0200 Subject: [PATCH] formatting --- .../{LanguageGenerator.kt => LanguageGeneratorCommand.kt} | 0 .../src/test/kotlin/RecognizeExistingASTClassesTest.kt | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) rename lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/{LanguageGenerator.kt => LanguageGeneratorCommand.kt} (100%) diff --git a/lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/LanguageGenerator.kt b/lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/LanguageGeneratorCommand.kt similarity index 100% rename from lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/LanguageGenerator.kt rename to lionweb-gen/src/main/kotlin/com/strumenta/kolasu/lionweb/LanguageGeneratorCommand.kt diff --git a/lionweb-gen/src/test/kotlin/RecognizeExistingASTClassesTest.kt b/lionweb-gen/src/test/kotlin/RecognizeExistingASTClassesTest.kt index 08b867e5..471f86f1 100644 --- a/lionweb-gen/src/test/kotlin/RecognizeExistingASTClassesTest.kt +++ b/lionweb-gen/src/test/kotlin/RecognizeExistingASTClassesTest.kt @@ -48,7 +48,13 @@ public data class Property( public var `value`: Value, ) : Node()""" val existingClasses = KotlinCodeProcessor().classesDeclaredInFile(code) - assertEquals(setOf("com.strumenta.props.PropertiesFile", "com.strumenta.props.SomeOtherClass", "com.strumenta.props.Property"), existingClasses) + assertEquals( + setOf( + "com.strumenta.props.PropertiesFile", "com.strumenta.props.SomeOtherClass", + "com.strumenta.props.Property" + ), + existingClasses + ) val existingASTClasses = KotlinCodeProcessor().astClassesDeclaredInFile(code) assertEquals(setOf("com.strumenta.props.PropertiesFile", "com.strumenta.props.Property"), existingASTClasses)