Functional API: Fix off-by-one bug.
This commit is contained in:
parent
10f06d08fd
commit
1b1192c0e7
2 changed files with 7 additions and 3 deletions
|
@ -129,6 +129,10 @@ describe(`Channel`, function() {
|
|||
});
|
||||
|
||||
describe(`functional interface`, async function() {
|
||||
it(`shift`, async function() {
|
||||
assert.equal(await Channel.shift(Channel.of(0)), 0);
|
||||
});
|
||||
|
||||
describe(`slice`, function() {
|
||||
it(`full application`, async function() {
|
||||
assert.deepEqual(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue