[ruby-cvs:69040] yui-knk:r61859 (trunk): Add tests for Node code locations

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Tue Jan 16 08:43:17 JST 2018


yui-knk	2018-01-16 08:43:17 +0900 (Tue, 16 Jan 2018)

  New Revision: 61859

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

  Log:
    Add tests for Node code locations
    
    * test/-ext-/ast/test_ast.rb: Add tests for Node
      code locations. This file tests
    
      1. There are no Node whose code location is default
         value (#test_not_cared)
    
      2. There are no Node whose children's code locations
         exceed parent's code location (#test_ranges)
    
    * ext/-test-/ast/ast.c, ext/-test-/ast/extconf.rb:
      Define AST module to help tests.

  Added directories:
    trunk/ext/-test-/ast/
    trunk/test/-ext-/ast/
  Added files:
    trunk/ext/-test-/ast/ast.c
    trunk/ext/-test-/ast/extconf.rb
    trunk/test/-ext-/ast/test_ast.rb
  Modified files:
    trunk/internal.h


More information about the ruby-cvs mailing list