[ruby-cvs:66323] glass:r59145 (trunk): Fix exception type in option type checker

glass at ruby-lang.org glass at ruby-lang.org
Thu Jun 22 19:56:49 JST 2017


glass	2017-06-22 19:56:49 +0900 (Thu, 22 Jun 2017)

  New Revision: 59145

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

  Log:
    Fix exception type in option type checker
    
    * lib/shell/system-command.rb (SystemCommand#initialize):
      `def_e2message` wraps error message, but does not define new exception
    
    * test/shell/test_command_processor.rb: add a test
    
    This patch is authored by Kenichi Kamiya <kachick1 at gmail.com>
    close #1657

  Modified files:
    trunk/lib/shell/system-command.rb
    trunk/test/shell/test_command_processor.rb


More information about the ruby-cvs mailing list