Skip to content

Commit 412b1e8

Browse files
committed
test_call_with_this: Skip on Rhino
This is a known bug in Ruby Rhino
1 parent a6f6a6c commit 412b1e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_execjs.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ def test_call_with_complex_properties
5757
end
5858

5959
def test_call_with_this
60+
# Known bug: https://github.com/cowboyd/therubyrhino/issues/39
61+
skip if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime)
62+
6063
# Make sure that `this` is indeed the global scope
6164
context = ExecJS.compile(<<-EOF)
6265
name = 123;

0 commit comments

Comments
 (0)