aboutsummaryrefslogtreecommitdiffstats
path: root/test/rake
diff options
context:
space:
mode:
Diffstat (limited to 'test/rake')
-rw-r--r--test/rake/test_application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rake/test_application.rb b/test/rake/test_application.rb
index 77f9859b24..9158689e65 100644
--- a/test/rake/test_application.rb
+++ b/test/rake/test_application.rb
@@ -438,7 +438,7 @@ class Rake::TestApplicationOptions < Test::Unit::TestCase
flags(['--require', File.expand_path('../missing', __FILE__)]) do |opts|
end
end
- assert_match(/no such file/, ex.message)
+ assert_match(/cannot load such file/, ex.message)
assert_match(/#{File.basename(File.dirname(__FILE__))}\/missing/, ex.message)
end