Issue #18022 has been updated by duerst (Martin D=FCrst).


[sorry, hitting Enter too early]

Working on upgrading Ruby 3.1 to Unicode version 13.0.0 and Unicode Emoji v=
ersion 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" =3D=3D "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 <top (required)>'
/home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb=
:4:in `<top (required)>'

195)
RbConfig::CONFIG['UNICODE_VERSION'] is 12.1.0 for Ruby 2.6.3+ and Ruby 2.7 =
FAILED
Expected "13.0.0" =3D=3D "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 <top (required)>'
/home/duerst/ruby3/spec/ruby/library/rbconfig/unicode_version_spec.rb:4:in =
`<top (required)>'
```

This looks weird to me because I'm on Ruby version 3.1.0dev. while the spec=
s mention only versions such as 2.6 or 2.7. How can I fix this? In particul=
ar, 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 Ru=
by 2.7 even when on Ruby 3.1
https://bugs.ruby-lang.org/issues/18022#change-92760

* Author: duerst (Martin D=FCrst)
* Status: Open
* Priority: Normal
* Assignee: Eregon (Benoit Daloze)
* ruby -v: ruby 3.1.0dev (2021-07-04T08:11:22Z master 0a931ef8f9) [x86_64-l=
inux]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------




-- =

https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>