• Home
  • Raw
  • Download

Lines Matching refs:should

22     parser.reported_errors.should be_empty unless expect_errors
69 result.should == 'abc 34'
81 result.should == 'abc 34'
93 result.should == '(abc 34)'
105 result.should == '(abc 34)'
118 result.should == 'abc 4532'
130 result.should == '(b a 1)'
142 result.should == '(void foo ;)'
154 result.should == '(void foo ;)'
166 result.should == '(foo void ;)'
178 result.should == '(foo void ;)'
192 result.should == '(foo void ;)'
205 result.should == 'void ;'
218 result.should == '(34 a c)'
231 result.should == '(c (34 a))'
244 result.should == '(* (* (a 34) b 9) c)'
259 result.should == 'void a b ;'
275 result.should == 'int a'
291 result.should == '(int a)'
307 result.should == '(int a)'
323 result.should == '(int a)'
336 result.should == '(+ (+ (+ a b) c) d)'
352 result.should == '(- (+ (+ a b) c) d)'
367 result.should == '(exp 3 (exp 4 5))'
379 result.should == 'abc'
392 result.should == '(+ abc)'
405 result.should == '+ abc'
418 result.should == '(- (+ a b) c)'
431 result.should == '34 + 2'
444 result.should == '34 + 2'
457 result.should == '34 + 2'
470 result.should == '(34 55)'
482 result.should == '(34 55)'
494 result.should == '(34 55)'
508 result.should == '(+ (+ 3 4) 5)'
523 result.should == '2nd id=b,a b'
536 result.should == '2nd id=b,(b a)'
550 errors.should == [ "line 1:4 extraneous input \"34\" expecting ID" ]
551 result.should == '(int x 1)'
565 errors.should == [ "line 1:4 missing ID at \"=\"" ]
566 result.should == '(int <missing ID> 1)'
581 errors.should == [ "line 1:0 mismatched input \"x\" expecting set nil" ]
582 result.should == '(<error: x> x 1)'
595 errors.should == [ "line 0:-1 missing INT at \"<EOF>\"" ]
596 result.should == 'abc <missing INT>'
610 errors.should == [ "line 0:-1 mismatched input \"<EOF>\" expecting INT" ]
611 result.should == '<mismatched token: <EOF>, resync = abc>'
626 errors.should == [ "line 1:4 extraneous input \"ick\" expecting INT" ]
627 result.should == 'abc 34'
640 errors.should == [ "line 1:0 missing ID at \"34\"" ]
641 result.should == '<missing ID> 34'
656 errors.should == [ "line 1:0 missing ID at \"34\"" ]
657 result.should == '<missing ID> 34'
672 errors.should == [ "line 1:0 no viable alternative at input \"*\"" ]
673 result.should == "<unexpected: 0 S[\"*\"] @ line 1 col 0 (0..0), resync = *>"
686 result.should == 'a'
699 result.should == ''
716 result.should == '2nd x=b,a b'
732 result.should == 'x=(b a),(b a)'
748 result.should == '1st x=a,b'
762 result.should == 'a b b c c d'
776 result.should == "34\nabc 34"
789 result.should == 'abc 34 d'