diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 93c912bc4d..4c39dc0d21 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -621,7 +621,7 @@ module TestIRB ) assert_empty err - assert_match /Can not find file: foo\.rb/, out + assert_match /Can not find file: test_cmd_non_existing_path\.rb/, out end def test_edit_with_constant