Skip to content

Commit

Permalink
r Replace unused return with exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyzxs committed Nov 27, 2021
1 parent b27aa78 commit 3f904fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TddLikeYouMeanIt/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;

Expand Down Expand Up @@ -53,7 +54,7 @@ public string Transform(int source)
if (source == 1) return "1";
if (source == 3) return "3";
if (source == 2) return "2";
return "1";
throw new Exception("We broke something");
}
}
}

0 comments on commit 3f904fe

Please sign in to comment.