bootstraptest/test_insns.rb: test opt_nil_p
This commit is contained in:
parent
076f3fcf11
commit
2eec526053
@ -202,6 +202,7 @@ tests = [
|
|||||||
},
|
},
|
||||||
|
|
||||||
[ 'opt_str_freeze', %q{ 'true'.freeze }, ],
|
[ 'opt_str_freeze', %q{ 'true'.freeze }, ],
|
||||||
|
[ 'opt_nil_p', %q{ nil.nil? }, ],
|
||||||
[ 'opt_str_uminus', %q{ -'true' }, ],
|
[ 'opt_str_uminus', %q{ -'true' }, ],
|
||||||
[ 'opt_str_freeze', <<-'},', ], # {
|
[ 'opt_str_freeze', <<-'},', ], # {
|
||||||
class String
|
class String
|
||||||
|
Loading…
x
Reference in New Issue
Block a user