Created
September 30, 2021 18:16
-
-
Save jessejjohnson/885fa9170db39f1a5482c9cff25fe739 to your computer and use it in GitHub Desktop.
Notable code snippets discovered in real-world solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
throw new Exception("test"); | |
} | |
catch (Exception ex) | |
{ | |
Assert.Equal("test", ex.Message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment