From: duerst@... Date: 2021-07-04T09:50:42+00:00 Subject: [ruby-core:104494] [Ruby master Bug#18022] Spec errors for rbconfig/unicode_[emoji_]version_spec: Using Ruby 2.7 even when on Ruby 3.1 Issue #18022 has been updated by duerst (Martin D�rst). [sorry, hitting Enter too early] Working on upgrading Ruby 3.1 to Unicode version 13.0.0 and Unicode Emoji version 13.0, I'm getting the following errors: ``` 194) RbConfig::CONFIG['UNICODE_EMOJI_VERSION'] is 12.1 for Ruby 2.7 FAILED Expected "13.0" == "12.1" to be truthy but was false /home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb:19:in `block (3 levels) in ' /home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb:4:in `' 195) RbConfig::CONFIG['UNICODE_VERSION'] is 12.1.0 for Ruby 2.6.3+ and Ruby 2.7 FAILED Expected "13.0.0" == "12.1.0" to be truthy but was false /home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_version_spec.rb:25:in `block (3 levels) in ' /home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_version_spec.rb:4:in `' ``` This looks weird to me because I'm on Ruby version 3.1.0dev. while the specs mention only versions such as 2.6 or 2.7. How can I fix this? In particular, it's unclear for me what I should do to express that the Unicode/Emoji version changes in the middle of a Ruby dev version. ---------------------------------------- Bug #18022: Spec errors for rbconfig/unicode_[emoji_]version_spec: Using Ruby 2.7 even when on Ruby 3.1 https://bugs.ruby-lang.org/issues/18022#change-92760 * Author: duerst (Martin D�rst) * Status: Open * Priority: Normal * Assignee: Eregon (Benoit Daloze) * ruby -v: ruby 3.1.0dev (2021-07-04T08:11:22Z master 0a931ef8f9) [x86_64-linux] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- -- https://bugs.ruby-lang.org/ Unsubscribe: