mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
f24985c23c
`expect(a).to eq_just b` <=> `a.IsJust && a.FromJust == b` `expect(a).to be_successful` <=> `a.IsJust && a.FromJust` `expect(a).to strict_eq b` <=> if a is Maybe: `a.IsJust && a.FromJust.StrictEquals(b)`; else `a.StrictEquals(b)` `expect(a).to v8_eq b` <=> same as above but for `Equals` instead of `StrictEquals`
3 lines
107 B
Ruby
3 lines
107 B
Ruby
require 'v8/init'
|
|
|
|
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |helper| require_relative helper }
|