test for negative time, ref #85
This commit is contained in:
parent
903c065e26
commit
47717e872b
1 changed files with 9 additions and 0 deletions
|
|
@ -374,6 +374,15 @@ describe('Pattern', function () {
|
|||
);
|
||||
});
|
||||
});
|
||||
describe('fastcat()', function () {
|
||||
it('Can go into negative time', function () {
|
||||
sameFirst(
|
||||
fastcat('a','b','c')
|
||||
.late(1000000),
|
||||
fastcat('a','b','c'),
|
||||
);
|
||||
});
|
||||
});
|
||||
describe('slowcat()', function () {
|
||||
it('Can concatenate things slowly', function () {
|
||||
assert.deepStrictEqual(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue