Skip to content

Commit

Permalink
Change 'should fail' test.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptnCodr committed Oct 31, 2019
1 parent a4454a7 commit 3125423
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests/FsUnit.MsTest.Test/beSubsetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ type ``be subsetOf tests`` ()=
[1..10] |> should be (subsetOf [1..10])

[<TestMethod>] member test.
``should fail on '1 to 10 should not be subset of 1 to 10'`` ()=
``should fail on '1 to 11 should be subset of 1 to 10'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be subsetOf [1..10]))
[1..11] |> should be (subsetOf [1..10]))
4 changes: 2 additions & 2 deletions tests/FsUnit.MsTest.Test/beSupersetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ type ``be supersetOf tests`` ()=
[1..10] |> should be (supersetOf [1..10])

[<TestMethod>] member test.
``should fail on '1 to 10 should not be superset of 1 to 10'`` ()=
``should fail on '1 to 10 should be superset of 1 to 11'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be supersetOf [1..10]))
[1..10] |> should be (supersetOf [1..11]))
4 changes: 2 additions & 2 deletions tests/FsUnit.NUnit.Test/beSubsetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ type ``be subsetOf tests`` ()=
[1..10] |> should be (subsetOf [1..10])

[<Test>] member test.
``should fail on '1 to 10 should not be subset of 1 to 10'`` ()=
``should fail on '1 to 11 should be subset of 1 to 10'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be subsetOf [1..10]))
[1..11] |> should be (subsetOf [1..10]))
4 changes: 2 additions & 2 deletions tests/FsUnit.NUnit.Test/beSupersetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ type ``be supersetOf tests`` ()=
[1..10] |> should be (supersetOf [1..10])

[<Test>] member test.
``should fail on '1 to 10 should not be superset of 1 to 10'`` ()=
``should fail on '1 to 10 should be superset of 1 to 11'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be supersetOf [1..10]))
[1..10] |> should be (supersetOf [1..11]))
4 changes: 2 additions & 2 deletions tests/FsUnit.Xunit.Test/beSubsetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ type ``be subsetOf tests`` ()=
[1..10] |> should be (subsetOf [1..10])

[<Fact>] member test.
``should fail on '1 to 10 should not be subset of 1 to 10'`` ()=
``should fail on '1 to 11 should be subset of 1 to 10'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be subsetOf [1..10]))
[1..11] |> should be (subsetOf [1..10]))
4 changes: 2 additions & 2 deletions tests/FsUnit.Xunit.Test/beSupersetOfTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ type ``be supersetOf tests`` ()=
[1..10] |> should be (supersetOf [1..10])

[<Fact>] member test.
``should fail on '1 to 10 should not be superset of 1 to 10'`` ()=
``should fail on '1 to 10 should be superset of 1 to 11'`` ()=
shouldFail (fun () ->
[1..10] |> should not' (be supersetOf [1..10]))
[1..10] |> should be (supersetOf [1..11]))

0 comments on commit 3125423

Please sign in to comment.