test/scanner/test_meta.rb in regexp_parser-0.5.0 vs test/scanner/test_meta.rb in regexp_parser-1.0.0

- old
+ new

@@ -15,10 +15,10 @@ '(a\|b)|(c|d)\|(e[|]f)' => { 2 => [:escape, :alternation, '\|', 2, 4], 5 => [:meta, :alternation, '|', 6, 7], 8 => [:meta, :alternation, '|', 9, 10], 11 => [:escape, :alternation, '\|', 12, 14], - 15 => [:set, :member, '|', 17, 18], + 15 => [:literal, :literal, '|', 17, 18], }, } tests.each_with_index do |(pattern, checks), count| define_method "test_scanner_meta_alternation_#{count}" do