Skip to content

Commit

Permalink
enum syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurnikov committed Sep 30, 2024
1 parent d1d95b7 commit c8061bf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@ class HighlightingAnnotatorTest: AnnotatorTestCase(HighlightingAnnotator::class)
"""
)

fun `test enum highlighting`() = checkHighlighting("""
module 0x1::m {
<KEYWORD>enum</KEYWORD> <ENUM>S</ENUM> { One, Two(u8) }
}
""")

// fun `test resource access control keywords highlighting`() = checkHighlighting(
// """
// module 0x1::m {
Expand Down

0 comments on commit c8061bf

Please sign in to comment.