summaryrefslogtreecommitdiff
path: root/spec/ruby/core/warning/warn_spec.rb
diff options
context:
space:
mode:
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