summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-01 20:34:10 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-01 20:34:31 +0900
commit2eec526053186f05e8b73003d5212c871724a309 (patch)
treec196111e8bc9c24ad6a817c3225c77645c52cc8f /bootstraptest
parent076f3fcf11a061394d3d5f8c671512df1e983023 (diff)
bootstraptest/test_insns.rb: test opt_nil_p
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_insns.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb
index 1747941cf0..73a9d501f1 100644
--- a/bootstraptest/test_insns.rb
+++ b/bootstraptest/test_insns.rb
@@ -202,6 +202,7 @@ tests = [
},
[ 'opt_str_freeze', %q{ 'true'.freeze }, ],
+ [ 'opt_nil_p', %q{ nil.nil? }, ],
[ 'opt_str_uminus', %q{ -'true' }, ],
[ 'opt_str_freeze', <<-'},', ], # {
class String