Project

General

Profile

« Previous | Next » 

Revision bb1c3418

Added by byroot (Jean Boussier) over 1 year ago

Add more assertions in test_uplus_minus

Not along after 1b830740ba8371c4bcfdfc6eb2cb7e0ae81a84e0 CI
started to rarely fail this test:

TestString#test_uplus_minus: Test::Unit::AssertionFailedError: uminus deduplicates [Feature #13077]. 1) Failure: TestString#test_uplus_minus [/tmp/ruby/src/trunk/test/ruby/test_string.rb:3368]: 

It's unclear what is going on, but one possibility is that
"bar".freeze might no longer compile correctly.

Another possibility is that another test redefine String#freeze,
causing opt_str_freeze to no longer return an fstring.