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` |
||
---|---|---|
.. | ||
context.rb | ||
v8_matchers.rb |