spec/unicode_age_spec.rb in unicode-age-2.0.0 vs spec/unicode_age_spec.rb in unicode-age-2.0.1

- old
+ new

@@ -9,9 +9,10 @@ assert_equal 3.1, Unicode::Age.of("ℜ𝘂ᖯʏ") assert_equal 6.0, Unicode::Age.of("🚡") assert_equal 7.0, Unicode::Age.of("🛲 ") if RUBY_VERSION >= "2.2.0" assert_equal 8.0, Unicode::Age.of("🌮 ") if RUBY_VERSION >= "2.3.0" assert_equal 9.0, Unicode::Age.of("🛒 ") if RUBY_VERSION >= "2.4.0" + assert_equal 10.0, Unicode::Age.of("🛷 ") if RUBY_VERSION >= "2.5.0" end it "will raise Unicode::Age::UnknownAge exception for unassigned characters" do assert_raises Unicode::Age::UnknownAge do assert_equal nil, Unicode::Age.of("\u{10FFFF}")