summaryrefslogtreecommitdiff
path: root/bootstraptest/test_ractor.rb
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-03-15 12:38:39 +0100
committerJean Boussier <[email protected]>2024-03-15 15:52:33 +0100
commit91bf7eb274e0b6e431b4f89a6dc814701a4d8739 (patch)
tree9915482b68941f3253be1621ad313d8a0d1d4d7b /bootstraptest/test_ractor.rb
parentb4f3f3c1031cc9ef5c6741042236db497be6602b (diff)
Refactor frozen_string_literal check during compilation
In preparation for https://bugs.ruby-lang.org/issues/20205. The `frozen_string_literal` compilation option will no longer be a boolean but a tri-state: `on/off/default`.
Diffstat (limited to 'bootstraptest/test_ractor.rb')
-rw-r--r--bootstraptest/test_ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index 63164b8785..3298ff1443 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -1421,7 +1421,7 @@ assert_equal '[false, false, true, true]', %q{
}
# TracePoint with normal Proc should be Ractor local
-assert_equal '[7, 11]', %q{
+assert_equal '[6, 10]', %q{
rs = []
TracePoint.new(:line){|tp| rs << tp.lineno if tp.path == __FILE__}.enable do
Ractor.new{ # line 5