Skip to content

Instantly share code, notes, and snippets.

@jeffotoni
Created July 29, 2020 16:28
Show Gist options
  • Save jeffotoni/a92984464a5acfe9f1bdeffb7968122d to your computer and use it in GitHub Desktop.
Save jeffotoni/a92984464a5acfe9f1bdeffb7968122d to your computer and use it in GitHub Desktop.
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