Skip to content

Commit 093d4a9

Browse files
alfonsogarciacaroTheAngryByrd
authored andcommitted
Fix Fable build (#196)
1 parent 43cfa67 commit 093d4a9

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"fable": {
12-
"version": "4.0.0-theta-015",
12+
"version": "4.0.0-theta-018",
1313
"commands": [
1414
"fable"
1515
]

tests/FsToolkit.ErrorHandling.Tests/Expect.fs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,36 @@ module Expect =
2020

2121

2222
#if FABLE_COMPILER
23-
let inline isOk x message =
23+
let isOk x message =
2424
match x with
2525
| Ok _ -> ()
2626
| Result.Error x -> Tests.failtestf "%s. Expected Ok, was Error(%A)." message x
2727
#endif
2828

29-
let inline hasErrorValue v x =
29+
let hasErrorValue v x =
3030
match x with
3131
| Ok x -> Tests.failtestf "Expected Error, was Ok(%A)." x
3232
| Error x when x = v -> ()
3333
| Error x -> Tests.failtestf "Expected Error(%A), was Error(%A)." v x
3434

35-
let inline hasOkValue v x =
35+
let hasOkValue v x =
3636
match x with
3737
| Ok x when x = v -> ()
3838
| Ok x -> Tests.failtestf "Expected Ok(%A), was Ok(%A)." v x
3939
| Error x -> Tests.failtestf "Expected Ok, was Error(%A)." x
4040

41-
let inline hasSomeValue v x =
41+
let hasSomeValue v x =
4242
match x with
4343
| Some x when x = v -> ()
4444
| Some x -> Tests.failtestf "Expected Some(%A), was Some(%A)." v x
4545
| None -> Tests.failtestf "Expected Some, was None."
4646

47-
let inline hasNoneValue x =
47+
let hasNoneValue x =
4848
match x with
4949
| None -> ()
5050
| Some _ -> Tests.failtestf "Expected None, was Some."
5151

52-
let inline hasAsyncValue v asyncX = async {
52+
let hasAsyncValue v asyncX = async {
5353
let! x = asyncX
5454

5555
if v = x then
@@ -58,22 +58,22 @@ module Expect =
5858
Tests.failtestf "Expected %A, was %A." v x
5959
}
6060

61-
let inline hasAsyncOkValue v asyncX = async {
61+
let hasAsyncOkValue v asyncX = async {
6262
let! x = asyncX
6363
hasOkValue v x
6464
}
6565

66-
let inline hasAsyncErrorValue v asyncX = async {
66+
let hasAsyncErrorValue v asyncX = async {
6767
let! x = asyncX
6868
hasErrorValue v x
6969
}
7070

71-
let inline hasAsyncSomeValue v asyncX = async {
71+
let hasAsyncSomeValue v asyncX = async {
7272
let! x = asyncX
7373
hasSomeValue v x
7474
}
7575

76-
let inline hasAsyncNoneValue asyncX = async {
76+
let hasAsyncNoneValue asyncX = async {
7777
let! x = asyncX
7878
hasNoneValue x
7979
}

0 commit comments

Comments
 (0)