File: test_parser_text.rb

package info (click to toggle)
racc 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,016 kB
  • sloc: yacc: 22,764; ruby: 4,515; java: 698; ansic: 680; makefile: 16
file content (10 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
require File.expand_path(File.join(__dir__, 'case'))

module Racc
  class TestRaccParserText < TestCase
    def test_parser_text_require
      assert_not_match(/^require/, Racc::PARSER_TEXT)
      assert_in_out_err(%W[-I#{LIB_DIR} -rracc/parser-text -e$:.clear -eeval(Racc::PARSER_TEXT)])
    end
  end
end