Skip to content

Commit

Permalink
[rubygems/rubygems] Better tests are better
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks authored and matzbot committed Dec 7, 2022
1 parent ef50934 commit 88497b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/rubygems/test_gem_ext_cargo_builder.rb
Expand Up @@ -57,7 +57,8 @@ def test_build_cdylib
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
Expand Down

0 comments on commit 88497b2

Please sign in to comment.