summaryrefslogtreecommitdiffstats
path: root/test/language/scope.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/scope.rb')
-rwxr-xr-xtest/language/scope.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/scope.rb b/test/language/scope.rb
index 09bf8a1c5..0e99aa5ae 100755
--- a/test/language/scope.rb
+++ b/test/language/scope.rb
@@ -66,7 +66,7 @@ class TestScope < Test::Unit::TestCase
"Recursive and non-recursive hash is identical for topscope")
# Check the variable we expect is present.
- assert_equal({"first" => "topval"}, topscope.to_hash(), "topscope returns the expected hash of variables")
+ assert_equal({"first" => "topval"}, topscope.to_hash, "topscope returns the expected hash of variables")
# Now, check that midscope does the right thing in all cases.