We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f132bcf + 792f8c1 commit 50e6199Copy full SHA for 50e6199
test/spell_checking/test_require_path_check.rb
@@ -7,11 +7,11 @@ class RequirePathCheckTest < Test::Unit::TestCase
7
8
def test_load_error_from_require_has_suggestions
9
error = assert_raise LoadError do
10
- require 'open_struct'
+ require 'open'
11
end
12
13
- assert_correction 'ostruct', error.corrections
14
- assert_match "Did you mean? ostruct", get_message(error)
+ assert_correction 'open3', error.corrections
+ assert_match "Did you mean? open3", get_message(error)
15
16
17
def test_load_error_from_require_for_nested_files_has_suggestions
0 commit comments