summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-02 18:29:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-02 19:17:37 +0900
commita2024081805af4e729bea029abb7bbe7c383dce2 (patch)
treea7a46007a44e6ca541980aaa9bd65950d9f277c6 /test
parentc2dcaa73626ab7a44dcc357d9751d9e2285d56ba (diff)
Fix typos
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_iseq.rb2
-rw-r--r--test/ruby/test_objectspace.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb
index 34124ae966..3a02c182aa 100644
--- a/test/ruby/test_iseq.rb
+++ b/test/ruby/test_iseq.rb
@@ -56,7 +56,7 @@ class TestISeq < Test::Unit::TestCase
assert_equal [3, 4, 7, 9], lines(src)
end
- def test_unsupport_type
+ def test_unsupported_type
ary = compile("p").to_a
ary[9] = :foobar
assert_raise_with_message(TypeError, /:foobar/) {ISeq.load(ary)}
diff --git a/test/ruby/test_objectspace.rb b/test/ruby/test_objectspace.rb
index 24a190b2df..e0f9eecd11 100644
--- a/test/ruby/test_objectspace.rb
+++ b/test/ruby/test_objectspace.rb
@@ -219,7 +219,7 @@ End
assert_same(new_obj, found[0])
end
- def test_each_object_no_gabage
+ def test_each_object_no_garbage
assert_separately([], <<-End)
GC.disable
eval('begin; 1.times{}; rescue; ensure; end')