Created
July 29, 2020 16:28
-
-
Save jeffotoni/a92984464a5acfe9f1bdeffb7968122d 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
package handler | |
import ( | |
"net/http" | |
"testing" | |
) | |
func TestScore(t *testing.T) { | |
type args struct { | |
w http.ResponseWriter | |
r *http.Request | |
} | |
tests := []struct { | |
name string | |
args args | |
}{ | |
// TODO: Add test cases. | |
} | |
for _, tt := range tests { | |
t.Run(tt.name, func(t *testing.T) { | |
Score(tt.args.w, tt.args.r) | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment