Sha256: 081316cfbee48b5b614c88bb056f458db8b86c4a79c6ff1d3e3a3d08438d052d
Contents?: true
Size: 346 Bytes
Versions: 31
Compression:
Stored size: 346 Bytes
Contents
require 'spec_helper' describe "The false keyword" do it "should always return s(:false)" do opal_parse("false").should == [:false] end it "cannot be assigned to" do lambda { opal_parse "true = 1" }.should raise_error(Exception) lambda { opal_parse "true = true" }.should raise_error(Exception) end end
Version data entries
31 entries across 31 versions & 1 rubygems