summaryrefslogtreecommitdiff
path: root/tool/lib/core_assertions.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-09-10 15:37:32 +0900
committerNobuyoshi Nakada <[email protected]>2024-09-10 16:50:21 +0900
commit2d12fbc4db7d1501d8f2a6b464af165ec40f7f3c ()
tree68ed0a2e3cafb9e15d91379e04b348c794585444 /tool/lib/core_assertions.rb
parenta3ba723ef09f0a42bb7ad31167a5457756e53f8d (diff)
Add predicates for platforms
Notes: Merged: https://.com/ruby/ruby/pull/11583
-rw-r--r--tool/lib/core_assertions.rb59
1 files changed, 59 insertions, 0 deletions
@@ -861,6 +861,65 @@ eom
token = "\e[7;1m#{$$.to_s}:#{Time.now.strftime('%s.%L')}:#{rand(0x10000).to_s(16)}:\e[m"
return token.dump, Regexp.quote(token)
end
end
end
end