spec/formatting/html/string_spec.rb in ronin-support-0.3.0 vs spec/formatting/html/string_spec.rb in ronin-support-0.4.0.rc1
- old
+ new
@@ -72,10 +72,10 @@
describe "#js_unescape" do
let(:js_unicode) do
"%u006F%u006E%u0065%u0020%u0026%u0020%u0074%u0077%u006F"
end
let(:js_hex) { "%6F%6E%65%20%26%20%74%77%6F" }
- let(:js_mixed) { "one %26 two" }
+ let(:js_mixed) { "%u6F%u6E%u65 %26 two" }
it "should unescape JavaScript unicode characters" do
js_unicode.js_unescape.should == subject
end