From c8061bf14f4429ddc5667e0cded449d5503d76d9 Mon Sep 17 00:00:00 2001 From: Maksim Kurnikov Date: Mon, 30 Sep 2024 18:30:36 +0200 Subject: [PATCH] enum syntax highlighting --- .../org/move/ide/annotator/HighlightingAnnotatorTest.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/kotlin/org/move/ide/annotator/HighlightingAnnotatorTest.kt b/src/test/kotlin/org/move/ide/annotator/HighlightingAnnotatorTest.kt index 65382e890..436053e1c 100644 --- a/src/test/kotlin/org/move/ide/annotator/HighlightingAnnotatorTest.kt +++ b/src/test/kotlin/org/move/ide/annotator/HighlightingAnnotatorTest.kt @@ -349,6 +349,12 @@ class HighlightingAnnotatorTest: AnnotatorTestCase(HighlightingAnnotator::class) """ ) + fun `test enum highlighting`() = checkHighlighting(""" + module 0x1::m { + enum S { One, Two(u8) } + } + """) + // fun `test resource access control keywords highlighting`() = checkHighlighting( // """ // module 0x1::m {