ruby-changes:56751
From: Kazuhiro <ko1@a...>
Date: Thu, 1 Aug 2019 20:35:01 +0900 (JST)
Subject: [ruby-changes:56751] Kazuhiro NISHIYAMA: 2eec526053 (master): bootstraptest/test_insns.rb: test opt_nil_p
https://git.ruby-lang.org/ruby.git/commit/?id=2eec526053 From 2eec526053186f05e8b73003d5212c871724a309 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 1 Aug 2019 20:34:10 +0900 Subject: bootstraptest/test_insns.rb: test opt_nil_p diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb index 1747941..73a9d50 100644 --- a/bootstraptest/test_insns.rb +++ b/bootstraptest/test_insns.rb @@ -202,6 +202,7 @@ tests = [ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_insns.rb#L202 }, [ 'opt_str_freeze', %q{ 'true'.freeze }, ], + [ 'opt_nil_p', %q{ nil.nil? }, ], [ 'opt_str_uminus', %q{ -'true' }, ], [ 'opt_str_freeze', <<-'},', ], # { class String -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/