summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-13 21:45:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-10 17:14:20 +0900
commit2d9bc3efe57fe0ec1a8171340c950fb98ca8c8f2 (patch)
tree497bb420e7e9ba043ffbab0c8348eb96d4af0d2a /spec
parent0e5aecea11d6d214bf578edfbbdb126ceb4762cb (diff)
downloadruby-2d9bc3efe57fe0ec1a8171340c950fb98ca8c8f2.tar.gz
[Bug #19597] Freeze script name
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/process/argv0_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/process/argv0_spec.rb b/spec/ruby/core/process/argv0_spec.rb
index 0d02248b6d..7c2342f959 100644
--- a/spec/ruby/core/process/argv0_spec.rb
+++ b/spec/ruby/core/process/argv0_spec.rb
@@ -13,8 +13,10 @@ describe "Process.argv0" do
end
end
- it "returns a non frozen object" do
- Process.argv0.should_not.frozen?
+ ruby_bug "#19597", ""..."3.3" do
+ it "returns a frozen object" do
+ Process.argv0.should.frozen?
+ end
end
it "returns every time the same object" do