Updated plugins
This commit is contained in:
1 parent
2b653aa950
commit
b318c1d0e5
96 files changed
+2382
-625
No files matched your search
@@ -40,6 +40,18 @@ describe "Syntax highlighting" do
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments with -" do
|
||||
assert_correct_highlighting <<~'EOF', 'frozen-string-literal', 'rubyMagicComment'
|
||||
# frozen-string-literal: true
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments with - and _" do
|
||||
assert_correct_highlighting <<~'EOF', 'frozen-string_literal', 'rubyMagicComment'
|
||||
# frozen-string_literal: true
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments - shareable_constant_value" do
|
||||
assert_correct_highlighting <<~'EOF', 'shareable_constant_value', 'rubyMagicComment'
|
||||
# shareable_constant_value: literal
|
||||
|
||||
Reference in new issue
Block a user