Skip to content

Commit 7077290

Browse files
author
Freddie O'Connell
committed
Ensure that the invalid URI test passes.
1 parent bf9d9e5 commit 7077290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TinCanTests/ActivityTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public void TestActivityIdTrailingSlash()
3030
Assert.AreEqual(noTrailingSlash, activity.id);
3131
}
3232

33-
3433
[Test]
3534
public void TestActivityIdCase()
3635
{
@@ -41,6 +40,7 @@ public void TestActivityIdCase()
4140
}
4241

4342
[Test]
43+
[ExpectedException("System.UriFormatException")]
4444
public void TestActivityIdInvalidUri()
4545
{
4646
var activity = new Activity();

0 commit comments

Comments
 (0)