We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452887c commit 695e247Copy full SHA for 695e247
test-base/variables_test.rb
@@ -130,8 +130,9 @@ def test_variable_hash_with_string_keys
130
assert_variables(read_variables, 1,
131
{:name => "hash", :hasChildren => true})
132
send_ruby("v i hash")
133
+ expected_name = RUBY_VERSION >= "1.9" ? CGI.escape_html("'a'") : CGI::escapeHTML("'a'")
134
assert_variables(read_variables, 2,
- {:name => CGI.escape_html("'a'"), :value => "z", :type => "String"})
135
+ {:name => expected_name, :value => "z", :type => "String"})
136
send_cont
137
end
138
0 commit comments