File: test_meta.rb

package info (click to toggle)
ruby-whitequark-parser 3.3.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,828 kB
  • sloc: yacc: 40,699; ruby: 20,395; makefile: 12; sh: 8
file content (12 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'helper'

class TestMeta < Minitest::Test
  def test_NODE_TYPES
    for_each_node do |node|
      assert Parser::Meta::NODE_TYPES.include?(node.type),
            "Type #{node.type} missing from Parser::Meta::NODE_TYPES"
    end
  end
end