From 312542375baab09dfb017c82a4da0c980ff352b8 Mon Sep 17 00:00:00 2001 From: CaptnCodr Date: Thu, 31 Oct 2019 18:35:55 +0100 Subject: [PATCH] Change 'should fail' test. --- tests/FsUnit.MsTest.Test/beSubsetOfTests.fs | 4 ++-- tests/FsUnit.MsTest.Test/beSupersetOfTests.fs | 4 ++-- tests/FsUnit.NUnit.Test/beSubsetOfTests.fs | 4 ++-- tests/FsUnit.NUnit.Test/beSupersetOfTests.fs | 4 ++-- tests/FsUnit.Xunit.Test/beSubsetOfTests.fs | 4 ++-- tests/FsUnit.Xunit.Test/beSupersetOfTests.fs | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/FsUnit.MsTest.Test/beSubsetOfTests.fs b/tests/FsUnit.MsTest.Test/beSubsetOfTests.fs index 28d6df53..b257ab11 100644 --- a/tests/FsUnit.MsTest.Test/beSubsetOfTests.fs +++ b/tests/FsUnit.MsTest.Test/beSubsetOfTests.fs @@ -34,6 +34,6 @@ type ``be subsetOf tests`` ()= [1..10] |> should be (subsetOf [1..10]) [] 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])) diff --git a/tests/FsUnit.MsTest.Test/beSupersetOfTests.fs b/tests/FsUnit.MsTest.Test/beSupersetOfTests.fs index 9b0c061f..4c1f2dd2 100644 --- a/tests/FsUnit.MsTest.Test/beSupersetOfTests.fs +++ b/tests/FsUnit.MsTest.Test/beSupersetOfTests.fs @@ -34,6 +34,6 @@ type ``be supersetOf tests`` ()= [1..10] |> should be (supersetOf [1..10]) [] 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])) diff --git a/tests/FsUnit.NUnit.Test/beSubsetOfTests.fs b/tests/FsUnit.NUnit.Test/beSubsetOfTests.fs index 98bbecdd..bd5754c7 100644 --- a/tests/FsUnit.NUnit.Test/beSubsetOfTests.fs +++ b/tests/FsUnit.NUnit.Test/beSubsetOfTests.fs @@ -34,6 +34,6 @@ type ``be subsetOf tests`` ()= [1..10] |> should be (subsetOf [1..10]) [] 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])) \ No newline at end of file + [1..11] |> should be (subsetOf [1..10])) \ No newline at end of file diff --git a/tests/FsUnit.NUnit.Test/beSupersetOfTests.fs b/tests/FsUnit.NUnit.Test/beSupersetOfTests.fs index d9197ae7..58f9b2d5 100644 --- a/tests/FsUnit.NUnit.Test/beSupersetOfTests.fs +++ b/tests/FsUnit.NUnit.Test/beSupersetOfTests.fs @@ -34,6 +34,6 @@ type ``be supersetOf tests`` ()= [1..10] |> should be (supersetOf [1..10]) [] 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])) diff --git a/tests/FsUnit.Xunit.Test/beSubsetOfTests.fs b/tests/FsUnit.Xunit.Test/beSubsetOfTests.fs index ea30fb84..4ab6a7e2 100644 --- a/tests/FsUnit.Xunit.Test/beSubsetOfTests.fs +++ b/tests/FsUnit.Xunit.Test/beSubsetOfTests.fs @@ -33,6 +33,6 @@ type ``be subsetOf tests`` ()= [1..10] |> should be (subsetOf [1..10]) [] 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])) diff --git a/tests/FsUnit.Xunit.Test/beSupersetOfTests.fs b/tests/FsUnit.Xunit.Test/beSupersetOfTests.fs index 30ced35b..0d37b859 100644 --- a/tests/FsUnit.Xunit.Test/beSupersetOfTests.fs +++ b/tests/FsUnit.Xunit.Test/beSupersetOfTests.fs @@ -33,6 +33,6 @@ type ``be supersetOf tests`` ()= [1..10] |> should be (supersetOf [1..10]) [] 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]))