Created
November 17, 2022 00:20
-
-
Save metarsit/c0b6b4a34e1a61a47505c3f62194aea5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| func TestEqualSingleTestCase(t *testing.T) { | |
| t.Run("Single Test Case", func(t *testing.T) { | |
| result := Equal(1, 1) | |
| if result != true { | |
| t.Fatalf("test failed: wanted %v got %v", true, result) | |
| } | |
| }) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment