diff options
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_ext_cargo_builder.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_ext_cargo_builder.rb b/test/rubygems/test_gem_ext_cargo_builder.rb index e69d351645..e5bad0bcbc 100644 --- a/test/rubygems/test_gem_ext_cargo_builder.rb +++ b/test/rubygems/test_gem_ext_cargo_builder.rb @@ -57,7 +57,8 @@ class TestGemExtCargoBuilder < Gem::TestCase output = output.join "\n" bundle = File.join(@dest_path, "release/rust_ruby_example.#{RbConfig::CONFIG['DLEXT']}") - assert_match "Finished\e[0m release [optimized] target(s)", output + assert_match(/Finished/, output) + assert_match(/release/, output) assert_ffi_handle bundle, "Init_rust_ruby_example" rescue Exception => e pp output if output |