diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 14:14:07 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 14:18:20 +0900 |
commit | 435a4ca2a38f3be1f5d2db0f71487a52c8285e9c (patch) | |
tree | 11388cf5f47b7944287db1388c86eb176a019593 /test | |
parent | 216b62aa87f069c51085e9f9abb548930370bc53 (diff) | |
download | ruby-435a4ca2a38f3be1f5d2db0f71487a52c8285e9c.tar.gz |
Makes the receiver to FrozenError.new a keyword parameter
[Feature #16419]
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_exception.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index c7cfe816b0..94b59dac47 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -845,7 +845,7 @@ end.join def test_frozen_error_initialize obj = Object.new - exc = FrozenError.new("bar", obj) + exc = FrozenError.new("bar", receiver: obj) assert_equal("bar", exc.message) assert_same(obj, exc.receiver) |