From e61181c476b0dccd4865e96422a5c39246262562 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Wed, 15 Feb 2023 11:33:02 +0900 Subject: [PATCH] Fix test --- test/rbs/locator_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rbs/locator_test.rb b/test/rbs/locator_test.rb index 0b1bac287..114955293 100644 --- a/test/rbs/locator_test.rb +++ b/test/rbs/locator_test.rb @@ -5,8 +5,8 @@ class RBS::LocatorTest < Test::Unit::TestCase include TestHelper def locator(src) - _, _, decls = Parser.parse_signature(src) - Locator.new(decls: decls) + buffer, dirs, decls = Parser.parse_signature(src) + Locator.new(buffer: buffer, dirs: dirs, decls: decls) end def test_find_class