|
@@ -12,7 +12,8 @@ describe('processLine', () => {
|
|
|
[' # comment', null],
|
|
[' # comment', null],
|
|
|
['###id', '###id'],
|
|
['###id', '###id'],
|
|
|
['##.class', '##.class'],
|
|
['##.class', '##.class'],
|
|
|
- ['## EOF', '## EOF']
|
|
|
|
|
|
|
+ ['## EOF', '## EOF'],
|
|
|
|
|
+ ['##### EOF', null]
|
|
|
] as const).forEach(([input, expected]) => {
|
|
] as const).forEach(([input, expected]) => {
|
|
|
it(input, () => {
|
|
it(input, () => {
|
|
|
expect(processLine(input)).toBe(expected);
|
|
expect(processLine(input)).toBe(expected);
|