Skip to content

Commit 7f56360

Browse files
committed
fix F# testing
Try to fix the error we get in CI. No idea if this actually works, but CI will tell us.
1 parent e2ef52d commit 7f56360

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testing-unit-fs-mocks/Testing.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ type Mocks() =
1717
if args.Type = "azure:storage/account:Account"
1818
then ["primaryWebEndpoint", sprintf "https://%s.web.core.windows.net" args.Name :> obj]
1919
else []
20-
20+
2121
let outputs =
2222
[inputKVs; nameKVs; endpointKVs]
2323
|> Seq.concat
2424
|> Seq.filter (fun (k, _) -> args.Type <> "azure:storage/blob:Blob" || k <> "source")
2525
|> Seq.map KeyValuePair
26-
let dict = outputs.ToImmutableDictionary() :> obj
26+
let dict = outputs.ToImmutableDictionary() :> obj
2727

2828
// Default the resource ID to `{name}_id`.
29-
let id = if args.Id = null then sprintf "%s_id" args.Name else args.Id
29+
let id = if args.Id = null then sprintf "%s_id" args.Name else args.Id
3030
Task.FromResult(struct (id, dict))
3131

3232
member this.CallAsync(args: MockCallArgs): Task<obj> =
3333
// We don't use this method in this particular test suite.
3434
// Default to returning whatever we got as input.
35-
Task.FromResult(null :> obj)
35+
Task.FromResult(null :> 'a)

0 commit comments

Comments
 (0)