Skip to content

Commit 276e38c

Browse files
authored
Merge pull request #667 from pvdb/fix_ruby_warning_in_test
refactor: fix ambiguous regexp / assertion in one of the tests
2 parents 74bfd21 + 3c5975a commit 276e38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_rake_rake_test_loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_load_error_raised_implicitly
5454
load @loader
5555
end
5656

57-
assert_match /.* -- superkalifragilisticoespialidoso/, exc.message
57+
assert_match(/.* -- superkalifragilisticoespialidoso/, exc.message)
5858
end
5959
assert_empty out
6060
assert_empty err

0 commit comments

Comments
 (0)