summaryrefslogtreecommitdiff
path: root/bootstraptest/test_ractor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_ractor.rb')
-rw-r--r--bootstraptest/test_ractor.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index a71f006..6f94ce6 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -448,9 +448,9 @@ assert_equal "ok", %q{
[{a: 1}.freeze, 'str'.freeze].freeze, # nested frozen container
S.new(1, 2).freeze, # frozen Struct
S.new(1, 2, 3, 4).freeze, # frozen Struct
- (1..2).freeze, # Range on Struct
- (1..).freeze, # Range on Strcut
- (..1).freeze, # Range on Strcut
+ (1..2), # Range on Struct
+ (1..), # Range on Strcut
+ (..1), # Range on Strcut
C, # class
M, # module
Ractor.current, # Ractor
@@ -463,7 +463,6 @@ assert_equal "ok", %q{
S.new(1, 2),
S.new(1, 2, 3, 4),
S.new("a", 2).freeze, # frozen, but refers to an unshareable object
- (1..2), (1..), (..1),
]
results = []