diff --git a/test/rbs/ast/visitor_test.rb b/test/rbs/ast/visitor_test.rb index 6ecdfdb91..2f781f53c 100644 --- a/test/rbs/ast/visitor_test.rb +++ b/test/rbs/ast/visitor_test.rb @@ -63,7 +63,7 @@ def visit_member_method_definition(node) def parse_rbs_string(rbs) rbs = RBS::Buffer.new(content: rbs, name: "-") - buffer, directives, declarations = RBS::Parser.parse_signature(rbs) + _, _, declarations = RBS::Parser.parse_signature(rbs) declarations end end