Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix most of the tests not running at all (closes #39)
- Loading branch information
Showing
197 changed files
with
197 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => ["foo", "bar", "baz"]))).toEqual(["bar", "baz"]) | ||
expect((await f(() => ["foo", "bar", "baz"]))).toEqual(["bar", "baz"]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => ["baz"]))).toBe("baz") | ||
expect((await f(() => ["baz"]))).toBe("baz"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f())).toEqual(['start 1', 'start 2', 'wait 2', 'start 3', 'wait 3', 'stop 1', 'wait 3', 'stop 2', 'stop 3']) | ||
expect((await f())).toEqual(['start 1', 'start 2', 'wait 2', 'start 3', 'wait 3', 'stop 1', 'wait 3', 'stop 2', 'stop 3']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => ({ bar: "baz" })))).toBe("baz") | ||
expect((await f(() => ({ bar: "baz" })))).toBe("baz"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async (a, b, c) => a + b + c, () => 1, async _ => 2))).toBe(5) | ||
expect((await f(async (a, b, c) => a + b + c, () => 1, async _ => 2))).toBe(5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f())).toBe(false) | ||
expect((await f())).toBe(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async () => true))).toBe(true) | ||
expect((await f(async () => true))).toBe(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async () => false, async () => true))).toBe(true) | ||
expect((await f(async () => false, async () => true))).toBe(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(false))).toBe(false) | ||
expect((await f(false))).toBe(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(true))).toBe(true) | ||
expect((await f(true))).toBe(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => ({ result: 4 })))).toBe(5) | ||
expect((await f(async _ => ({ result: 4 })))).toBe(5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 4))).toBe(5) | ||
expect((await f(async _ => 4))).toBe(5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f())).toBe(true) | ||
expect((await f())).toBe(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f())).toBe(true) | ||
expect((await f())).toBe(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(10))).toBe(-1) | ||
expect((await f(10))).toBe(-1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f([3]))).toBe(3) | ||
expect((await f([3]))).toBe(3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(1))).toBe(0) | ||
expect((await f(1))).toBe(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(10))).toBe(-1) | ||
expect((await f(10))).toBe(-1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f([3]))).toBe(3) | ||
expect((await f([3]))).toBe(3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(1))).toBe(0) | ||
expect((await f(1))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(0))).toBe(0) | ||
expect((await f(0))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(2))).toBe(1) | ||
expect((await f(2))).toBe(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f([1]))).toBe(0) | ||
expect((await f([1]))).toBe(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 0, async _ => true, async _ => 2))).toBe(0) | ||
expect((await f(async _ => 0, async _ => true, async _ => 2))).toBe(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 3, async _ => false, async _ => 5))).toBe(5) | ||
expect((await f(async _ => 3, async _ => false, async _ => 5))).toBe(5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 5, async _ => 2))).toBe(7) | ||
expect((await f(async _ => 5, async _ => 2))).toBe(7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 0, async _ => 2))).toBe(2) | ||
expect((await f(async _ => 0, async _ => 2))).toBe(2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 5, _ => 2))).toBe(7) | ||
expect((await f(async _ => 5, _ => 2))).toBe(7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 0, _ => 2))).toBe(2) | ||
expect((await f(async _ => 0, _ => 2))).toBe(2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(7) | ||
expect((await f(_ => 5, async _ => 2))).toBe(7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(2) | ||
expect((await f(_ => 0, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(7) | ||
expect((await f(_ => 5, async _ => 2))).toBe(7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(2) | ||
expect((await f(_ => 0, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 0, async _ => 2))).toBe(0) | ||
expect((await f(async _ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 5, async _ => 2))).toBe(2) | ||
expect((await f(async _ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => -1, _ => 2))).toBe(0) | ||
expect((await f(async _ => -1, _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 5, _ => 2))).toBe(2) | ||
expect((await f(async _ => 5, _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(3) | ||
expect((await f(_ => 5, async _ => 2))).toBe(3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 0, _ => 2))).toBe(0) | ||
expect((await f(async _ => 0, _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 5, _ => 2))).toBe(2) | ||
expect((await f(async _ => 5, _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(2) | ||
expect((await f(_ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(2) | ||
expect((await f(_ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(2) | ||
expect((await f(_ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(2) | ||
expect((await f(_ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 0, async _ => 2))).toBe(0) | ||
expect((await f(_ => 0, async _ => 2))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => 5, async _ => 2))).toBe(2) | ||
expect((await f(_ => 5, async _ => 2))).toBe(2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f())).toBe(true) | ||
expect((await f())).toBe(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 0))).toEqual(false) | ||
expect((await f(() => 0))).toEqual(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 1))).toEqual(true) | ||
expect((await f(() => 1))).toEqual(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 0))).toEqual(false) | ||
expect((await f(() => 0))).toEqual(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 1))).toEqual(true) | ||
expect((await f(() => 1))).toEqual(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f((b, c) => b + c, async _ => 2, async _ => 3))).toBe(5) | ||
expect((await f((b, c) => b + c, async _ => 2, async _ => 3))).toBe(5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f({ bar: value => value }, Promise.resolve(1)))).toBe(1) | ||
expect((await f({ bar: value => value }, Promise.resolve(1)))).toBe(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f({ bar: value => value }, Promise.resolve(1)))).toBe(1) | ||
expect((await f({ bar: value => value }, Promise.resolve(1)))).toBe(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => true, { baz: arg => arg }))).toBe(true) | ||
expect((await f(async _ => true, { baz: arg => arg }))).toBe(true) |
2 changes: 1 addition & 1 deletion
2
tests/calling member functions via computed expression/case-normal.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => true, { baz: arg => arg }, "baz"))).toBe(true) | ||
expect((await f(async _ => true, { baz: arg => arg }, "baz"))).toBe(true) |
2 changes: 1 addition & 1 deletion
2
tests/calling member functions via computed literal/case-normal.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => true, { baz: arg => arg }))).toBe(true) | ||
expect((await f(async _ => true, { baz: arg => arg }))).toBe(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(async _ => { | ||
expect((await f(async _ => { | ||
throw "test"; | ||
}, async _ => false))).toBe(undefined) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => "success", async _ => false))).toBe("success") | ||
expect((await f(async _ => "success", async _ => false))).toBe("success") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(async _ => { | ||
expect((await f(async _ => { | ||
throw "test"; | ||
}))).toBe(undefined) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => "success"))).toBe("success") | ||
expect((await f(async _ => "success"))).toBe("success") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(_ => { | ||
expect((await f(_ => { | ||
throw "test"; | ||
}, () => "fallback"))).toBe("fallback") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => "success"))).toBe("success") | ||
expect((await f(_ => "success"))).toBe("success") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(async _ => { | ||
expect((await f(async _ => { | ||
throw "test"; | ||
}))).toBe("fallback") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => "success"))).toBe("success") | ||
expect((await f(async _ => "success"))).toBe("success") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(async _ => { | ||
expect((await f(async _ => { | ||
throw "test"; | ||
}, async _ => false))).toBe("an error") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => "success", async _ => false))).toBe("success") | ||
expect((await f(async _ => "success", async _ => false))).toBe("success") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f().bar(async () => true))).toBe(true) | ||
expect((await f().bar(async () => true))).toBe(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await new (f())().foo(async () => true))).toBe(true) | ||
expect((await new (f())().foo(async () => true))).toBe(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => false, async _ => 0))).toBe(0) | ||
expect((await f(_ => false, async _ => 0))).toBe(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(_ => true, async _ => 0))).toBe(1) | ||
expect((await f(_ => true, async _ => 0))).toBe(1) |
2 changes: 1 addition & 1 deletion
2
tests/compound variable declarator optimized bail-out/case-result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 1, async _ => 2))).toBe(6) | ||
expect((await f(() => 1, async _ => 2))).toBe(6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(async _ => 2))).toBe(6) | ||
expect((await f(async _ => 2))).toBe(6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
async f => expect((await f(() => 1, async _ => 2))).toBe(6) | ||
expect((await f(() => 1, async _ => 2))).toBe(6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
async f => expect((await f(async _ => { | ||
expect((await f(async _ => { | ||
throw "test"; | ||
}, _ => undefined))).toBe("suppressed") |
Oops, something went wrong.