10 lines
329 B
CoffeeScript
10 lines
329 B
CoffeeScript
import RangeParser from 'ember-cli-dunlop/utils/range-parser'
|
|
import { module, test } from 'qunit'
|
|
|
|
module 'Unit | Utility | range parser'
|
|
|
|
# Replace this with your real tests.
|
|
test 'it works sunny', (assert) ->
|
|
result = RangeParser.parse(' 3, 5 - 9 , 17-19, 29')
|
|
assert.deepEqual result, [3, 5, 6, 7, 8, 9, 17, 18, 19, 29]
|