Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 19, 2021
1 parent 642fd30 commit 3bc074a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_execjs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_context_call_missing_function
assert_output value, ExecJS.eval("#{json_value}")
end

define_method("test_strinigfy_value_#{index}") do
define_method("test_stringify_value_#{index}") do
context = ExecJS.compile("function json(obj) { return JSON.stringify(obj); }")
assert_output json_value, context.call("json", value)
end
Expand Down

0 comments on commit 3bc074a

Please sign in to comment.