We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94facd8 commit 13478cfCopy full SHA for 13478cf
1 file changed
test/rbs/inline_annotation_parsing_test.rb
@@ -73,4 +73,10 @@ def test_parse__rbs_method_types_annotation
73
assert_equal ["|"], annot.vertical_bar_locations.map(&:source)
74
end
75
76
+
77
+ def test_error__unknown_annotation
78
+ assert_raises RBS::ParsingError do
79
+ Parser.parse_inline_leading_annotation("@rbs super String", 0...)
80
+ end
81
82
0 commit comments