summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_mixed_unicode_escapes.rb2
-rw-r--r--test/ruby/test_object.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_mixed_unicode_escapes.rb b/test/ruby/test_mixed_unicode_escapes.rb
index 982b57e286..ac712db0f8 100644
--- a/test/ruby/test_mixed_unicode_escapes.rb
+++ b/test/ruby/test_mixed_unicode_escapes.rb
@@ -1,5 +1,5 @@
# -*- coding: cp932 -*-
-# This test is in a differnt file than TestUnicodeEscapes
+# This test is in a different file than TestUnicodeEscapes
# So that we can have a different coding comment above
require 'test/unit'
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 515529b6a5..a3c71d605c 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -244,7 +244,7 @@ class TestObject < Test::Unit::TestCase
assert_equal(:foo, o.remove_instance_variable(:@foo),
"#{desc} iv removal returns original value")
assert_not_send([o, :instance_variable_defined?, :@foo],
- "#{desc} iv removed succesfully")
+ "#{desc} iv removed successfully")
e = assert_raise(NameError, "#{desc} iv removal raises after removal") do
o.remove_instance_variable(:@foo)
end