diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-12 13:24:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-12 13:24:23 +0000 |
commit | c62ab010c80cf29510111da96aa6963185ba4b57 (patch) | |
tree | e5cd544c1eb43aa5ce1a9c7ab53062463fa3a726 /test/-ext- | |
parent | cc376ee2105c7451fc5d518730b9e00abc7537f9 (diff) | |
download | ruby-c62ab010c80cf29510111da96aa6963185ba4b57.tar.gz |
test_fstring.rb: fix exception
* test/-ext-/string/test_fstring.rb (test_singleton_class): fix
expected exception class. [ruby-dev:49867] [Bug #12923]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/string/test_fstring.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/string/test_fstring.rb b/test/-ext-/string/test_fstring.rb index 0514814dd4..1b3b15c922 100644 --- a/test/-ext-/string/test_fstring.rb +++ b/test/-ext-/string/test_fstring.rb @@ -60,7 +60,7 @@ class Test_String_Fstring < Test::Unit::TestCase def test_singleton_class str = noninterned_name.force_encoding("us-ascii") fstr = Bug::String.fstring(str) - assert_raise(RuntimeError) {fstr.singleton_class} + assert_raise(TypeError) {fstr.singleton_class} end class S < String |