spec/symbolify_spec.rb in symbolify-1.1.0 vs spec/symbolify_spec.rb in symbolify-1.2.0
- old
+ new
@@ -70,10 +70,14 @@
it "works with non-characters" do
assert_equal "n/c", Symbolify.symbolify("\u{10FFFF}")
end
it "works with unassigned characters" do
- assert_equal "n/a", Symbolify.symbolify("\u{E0000}")
+ assert_equal "n/a", Symbolify.symbolify("\u{D0000}")
+ end
+
+ it "adds a * to unassigned characters which are ignorable" do
+ assert_equal "n/a*", Symbolify.symbolify("\u{E0000}")
end
end
describe ".byte" do
it "works with normal characters" do