c90d09a1e0
This required updating import paths in the spec files
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
import javascript from '../../../src/js/parser/javascript/parser.js';
|
|
|
|
describe('parser/javascript/repeat_required.js', function() {
|
|
|
|
it('parses "+" as a RepeatRequired', function() {
|
|
var parser = new javascript.Parser('+');
|
|
expect(parser.__consume__repeat_required()).toEqual(jasmine.objectContaining({
|
|
minimum: 1,
|
|
maximum: -1
|
|
}));
|
|
});
|
|
|
|
});
|