mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
11 lines
No EOL
210 B
Ruby
11 lines
No EOL
210 B
Ruby
|
|
require 'spec_helper'
|
|
|
|
describe V8::C::String do
|
|
include V8::ExtSpec
|
|
|
|
describe "a string with null bytes" do
|
|
subject {c::String::New("foo\0bar")}
|
|
its(:Utf8Value) {should eql "foo\0bar"}
|
|
end
|
|
end |