mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add tests
Some coverage improvements.
This commit is contained in:
parent
8a608f1b1f
commit
436099ee04
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ tests = [
|
|||
|
||||
[ 'opt_str_freeze', %q{ 'true'.freeze }, ],
|
||||
[ 'opt_nil_p', %q{ nil.nil? }, ],
|
||||
[ 'opt_nil_p', %q{ !Object.nil? }, ],
|
||||
[ 'opt_nil_p', %q{ Class.new{def nil?; true end}.new.nil? }, ],
|
||||
[ 'opt_str_uminus', %q{ -'true' }, ],
|
||||
[ 'opt_str_freeze', <<-'},', ], # {
|
||||
class String
|
||||
|
|
Loading…
Add table
Reference in a new issue