mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
import * as chai from 'chai'
|
|
|
|
const expect = chai.expect
|
|
const lexical = require('../../../src/parser/lexical')
|
|
|
|
describe('lexical', function () {
|
|
it('should test range literal', function () {
|
|
expect(lexical.isRange('(12..32)')).to.equal(true)
|
|
expect(lexical.isRange('(12..foo)')).to.equal(true)
|
|
expect(lexical.isRange('(foo.bar..foo)')).to.equal(true)
|
|
})
|
|
})
|