[前][次][番号順一覧][スレッド一覧]

ruby-changes:63390

From: Koichi <ko1@a...>
Date: Tue, 20 Oct 2020 23:48:44 +0900 (JST)
Subject: [ruby-changes:63390] 512752ba19 (master): fix condition

https://git.ruby-lang.org/ruby.git/commit/?id=512752ba19

From 512752ba19c960daf1d866f96fb33f3c0b2d7a75 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Tue, 20 Oct 2020 23:48:20 +0900
Subject: fix condition


diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index 74edfa8..f951d4b 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -618,7 +618,7 @@ assert_equal 'true', %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_ractor.rb#L618
 
   def ractor_local_globals
     /a(b)(c)d/ =~ 'abcd' # for $~
-    `echo foo` unless  /solaris/ !~ RUBY_PLATFORM
+    `echo foo` unless  /solaris/ =~ RUBY_PLATFORM
 
     {
      # ractor-local (derived from created ractor): debug
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]