Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Feb 16, 2023
1 parent 7582bae commit e61181c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rbs/locator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e61181c

Please sign in to comment.