Sha256: a4eb3169f91ff7aafa3bebd9f446387b49fa4798ec2adc2d2bc1eab3635bfe13

Contents?: true

Size: 210 Bytes

Versions: 70

Compression:

Stored size: 210 Bytes

Contents

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

Version data entries

70 entries across 70 versions & 5 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.7.4 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.7.3 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.7.2 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.7.1 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.7.0 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.9 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.8 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.7 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.6 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.5 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.4 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.3 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.2 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.1 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.6.0 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.5.17 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.5.16 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.5.15 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb
classiccms-0.5.14 vendor/bundle/gems/therubyracer-0.10.1/spec/ext/string_spec.rb