Skip to content

Commit

Permalink
[Rust] Fixed threaded build
Browse files Browse the repository at this point in the history
  • Loading branch information
ncave committed Sep 19, 2024
1 parent 4414017 commit 95acf2a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Rust/tests/src/InterfaceTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ let addWithAdder (i: IHasAdd) =
i.Add 3 4

let adderObj = Adder()
let adderInt = Adder() :> IHasAdd
// let adderInt = Adder() :> IHasAdd

[<Fact>]
let ``Module let object value works`` () =
let a = adderObj :> IHasAdd
let res = a.Add 2 1
res |> equal 3

[<Fact>]
let ``Module let interface value works`` () =
let a = adderInt
let res = a.Add 2 1
res |> equal 3
// [<Fact>]
// let ``Module let interface value works`` () =
// let a = adderInt
// let res = a.Add 2 1
// res |> equal 3

[<Fact>]
let ``Class interface impl works`` () =
Expand Down

0 comments on commit 95acf2a

Please sign in to comment.