summaryrefslogtreecommitdiff
path: root/spec/ruby/core/warning/warn_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-11-29 15:50:28 +0100
committerBenoit Daloze <eregontp@gmail.com>2021-11-29 15:50:28 +0100
commit67a1e2258974df4b597d019739595c18fbb9a7c1 (patch)
tree992ad4fc0fc08a6af8f04373703a339f957eb143 /spec/ruby/core/warning/warn_spec.rb
parente6d93a27afa058319e6dad093bbef637e49fce47 (diff)
Update to ruby/spec@7f22a0b
Diffstat (limited to 'spec/ruby/core/warning/warn_spec.rb')
-rw-r--r--spec/ruby/core/warning/warn_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/ruby/core/warning/warn_spec.rb b/spec/ruby/core/warning/warn_spec.rb
index 2ded6a109d..5ccff3aa2b 100644
--- a/spec/ruby/core/warning/warn_spec.rb
+++ b/spec/ruby/core/warning/warn_spec.rb
@@ -51,7 +51,6 @@ describe "Warning.warn" do
end
end
-
ruby_version_is '3.0' do
it "is called by Kernel.warn with nil category keyword" do
Warning.should_receive(:warn).with("Chunky bacon!\n", category: nil)
@@ -69,7 +68,7 @@ describe "Warning.warn" do
verbose = $VERBOSE
$VERBOSE = false
begin
- Kernel.warn("Chunky bacon!", category: 'deprecated')
+ Kernel.warn("Chunky bacon!", category: "deprecated")
ensure
$VERBOSE = verbose
end