(s: string)
| 427 | |
| 428 | it('writes the words it needs where the grammar reads them', () => { |
| 429 | const blank = (s: string) => s.replace(/[^\r\n]/g, ' '); |
| 430 | expect(preParsePascal(' 1: {$IFDEF U} A(1); {$ELSE} B(2); {$ENDIF}\n')) |
| 431 | .toBe(' 1: begin A(1); ; B(2); end; \n'); |
| 432 | expect(preParsePascal(' Data: record X: Integer; end;\n')).toBe(` Data: string${blank(' X: Integer; end')};\n`); |
no outgoing calls
no test coverage detected