1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/c/string_spec.rb
2012-06-06 04:08:41 -05:00

8 lines
No EOL
222 B
Ruby

require 'spec_helper'
describe V8::C::String do
it "can hold Unicode values outside the Basic Multilingual Plane" do
string = V8::C::String::New("\u{100000}")
string.Utf8Value().should eql "\u{100000}"
end
end