test/cli/test_error_handler.rb in nanoc-3.4.2 vs test/cli/test_error_handler.rb in nanoc-3.4.3
- old
+ new
@@ -10,10 +10,10 @@
end
def test_resolution_for_with_known_gem
$loud = true
error = LoadError.new('no such file to load -- kramdown')
- assert_match /^Try installing /, handler.send(:resolution_for, error)
+ assert_match(/^Try installing /, handler.send(:resolution_for, error))
ensure
$loud = false
end
def test_resolution_for_with_not_load_error