[ruby-cvs:67067] mame:r59889 (trunk): Introduce NODE_UNLESS for branch coverage

mame at ruby-lang.org mame at ruby-lang.org
Thu Sep 14 14:27:02 JST 2017


mame	2017-09-14 14:27:02 +0900 (Thu, 14 Sep 2017)

  New Revision: 59889

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59889

  Log:
    Introduce NODE_UNLESS for branch coverage
    
    `unless` statement was a syntactic sugar for `if` statement,
    which made the result of branch coverage hard to understand.

  Modified files:
    trunk/compile.c
    trunk/node.c
    trunk/node.h
    trunk/parse.y
    trunk/test/coverage/test_coverage.rb


More information about the ruby-cvs mailing list