From 9aa996e0d04d986b449dfc58dbf3d15aacb93941 Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Tue, 5 Feb 2019 15:44:26 +0800 Subject: [PATCH] Broke xUnit.net --- xUnitProject/Test3.cs | 4 ++-- xUnitProject/Tests.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xUnitProject/Test3.cs b/xUnitProject/Test3.cs index 90c03bd..d796f07 100644 --- a/xUnitProject/Test3.cs +++ b/xUnitProject/Test3.cs @@ -16,7 +16,7 @@ public Tests3(ITestOutputHelper output) void Impl(int x) { - Assert.True(x <= 42); + Assert.True(x < 42); } @@ -37,7 +37,7 @@ public void Test2() { Assert.Null(null); Assert.True(true); - //throw new Exception("Dummy exception"); + throw new Exception("Dummy exception"); } } diff --git a/xUnitProject/Tests.cs b/xUnitProject/Tests.cs index c13253f..fa18714 100644 --- a/xUnitProject/Tests.cs +++ b/xUnitProject/Tests.cs @@ -15,7 +15,7 @@ public void Test1() public void Test2() { Assert.Null(null); - Assert.False(false); + Assert.False(true); } } @@ -26,7 +26,7 @@ public class Tests2 public void Test1() { Assert.True(true); - Assert.False(false); + Assert.True(false); } [Fact]