We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedfc20 commit 5d358d1Copy full SHA for 5d358d1
Tests.fsx
@@ -68,9 +68,9 @@ let asyncSuite = describe "Async Tests" {
68
beforeEach {
69
let! x = async {
70
debug "Before each async test"
71
- return 42
+ return 100
72
}
73
- do! Async.Sleep 100
+ do! Async.Sleep x
74
75
76
it "should run an async test" {
test.bats
@@ -2,7 +2,7 @@
2
3
@test "Tests.fsx" {
4
dotnet fsi Tests.fsx > current.log
5
- run diff <(cat expected.log | grep -v "Total time") <(cat current.log | grep -v "Total time")
+ run diff <(grep -v "Total time" < expected.log) <(grep -v "Total time" < current.log)
6
[ "$status" -eq 0 ]
7
printf 'Lines:\n'
8
printf 'lines %s\n' "${lines[@]}" >&2
0 commit comments