mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add api packate test placeholder
This commit is contained in:
parent
a0bceb916e
commit
e247cbd11e
1 changed files with 19 additions and 0 deletions
19
pkg/api/api_test.go
Normal file
19
pkg/api/api_test.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
package api
|
||||
|
||||
import "testing"
|
||||
|
||||
// Idk how to test this really since almost everything in here is random
|
||||
func TestApi(t *testing.T) {
|
||||
t.Run("api package test placeholder", func(t *testing.T) {
|
||||
request := 1
|
||||
response := 1
|
||||
|
||||
got := request
|
||||
want := response
|
||||
|
||||
if got != want {
|
||||
t.Errorf("got %q, want %q", got, want)
|
||||
}
|
||||
|
||||
})
|
||||
}
|
Loading…
Reference in a new issue