diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-06 15:28:50 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-06-08 00:49:51 +0000 |
| commit | 0ee9bd5800979210219514e671ba9ae6271042f9 (patch) | |
| tree | 5af4419b7a091fa53ee1bc60939dd5aa653dfd92 | |
| parent | 46583f7dcf93a7fb795e889349c766a5b16960c6 (diff) | |
[ruby/racc] Embed racc/info.rb too
https://github.com/ruby/racc/commit/b5e121f304
| -rw-r--r-- | test/test_parser_text.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_parser_text.rb b/test/test_parser_text.rb new file mode 100644 index 0000000000..22790bd706 --- /dev/null +++ b/test/test_parser_text.rb @@ -0,0 +1,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) + ruby "-I#{LIB_DIR}", "-rracc/parser-text", %[-e$:.clear], %[-eeval(Racc::PARSER_TEXT)] + end + end +end |
