Skip to content

Commit b16b0e5

Browse files
authored
Merge pull request #46 from ruby/fix_bundled_gem_test_failure
Fix test_loaded_gem_types faling in test-bundled-gems
2 parents 3027fd1 + 3b110b1 commit b16b0e5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/repl_type_completor/test_repl_type_completor.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,9 @@ def test_doc_namespace_error
254254
end
255255

256256
def test_loaded_gem_types
257-
result = ReplTypeCompletor.analyze 'Prism.parse("code").', binding: binding
257+
result = ReplTypeCompletor.analyze 'RBS::CLI::LibraryOptions.new.loader.', binding: binding
258258
candidtes = result.completion_candidates
259-
assert_includes candidtes, 'success?'
260-
assert_includes candidtes, 'failure?'
259+
assert_includes candidtes, 'add'
261260
end
262261

263262
def test_info

0 commit comments

Comments
 (0)