Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
using System;
using TUnit;
using System.Threading.Tasks;

public class Test1
{
[Test]
public void TestMethod1()
public async Task TestMethod1()
{
if (1 + 1 != 2)
{
throw new Exception("1 + 1 should equal 2");
}

var x = 1 + 1;
await Assert.That(x).IsEqualTo(2);
}
}