Last active
September 23, 2016 10:06
-
-
Save Kiran0007Patil/124ebd62d977c6f38df77fede0905a25 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
| //Inside user_test.go | |
| const ( | |
| BadRequestCode = 400 | |
| SuccessRequestCode = 200 | |
| ) | |
| type TestStruct struct { | |
| requestBody string | |
| expectedStatusCode int | |
| responseBody string | |
| observedStatusCode int | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment