diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2023-08-17 15:47:46 -0700 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-08-20 09:05:23 +0000 |
| commit | b68be40e245399b00988d254bc83c04cb045b713 (patch) | |
| tree | a396e498b6bb58ac0f7ae590ca7d4a838a5ad923 | |
| parent | 1935433f5f6fecc786955dcf80e8f65ada6bcaeb (diff) | |
[rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat
https://github.com/rubygems/rubygems/commit/83aa7b794e
| -rw-r--r-- | test/rubygems/test_gem_specification.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index d37e1d1571..25b72c587f 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1103,9 +1103,9 @@ dependencies: [] s.instance_variable_set :@version, v end) - assert_raises(ArgumentError) { Marshal.load(data) } + assert_raise(ArgumentError) { Marshal.load(data) } out, err = capture_output do - assert_raises(ArgumentError) { Marshal.load(data) } + assert_raise(ArgumentError) { Marshal.load(data) } end assert_empty out assert_empty err |
