8000 Add logging when squeeze test fails by headius · Pull Request #8329 · jruby/jruby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add logging when squeeze test fails #8329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/mri/ruby/test_m17n_comb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ def test_str_split
def test_str_squeeze
combination(STRINGS, STRINGS) {|s1, s2|
if !s1.valid_encoding? || !s2.valid_encoding?
assert_raise(ArgumentError, Encoding::CompatibilityError, "#{encdump s1}.squeeze(#{encdump s2})") { s1.squeeze(s2) }
assert_raise(ArgumentError, Encoding::CompatibilityError, "#{encdump s1}.squeeze(#{encdump s2})") { s1.squeeze(s2); puts "failed: s1: #{s1.dump}, s2: #{s2.dump}, #{encdump s1}.squeeze(#{encdump s2}), squeeze returned #{s1.squeeze(s2).dump}" }
next
end
if !s1.ascii_only? && !s2.ascii_only? && s1.encoding != s2.encoding
Expand Down
Loading
0