mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add test placeholder for db
This commit is contained in:
parent
595115945c
commit
cb61108784
1 changed files with 18 additions and 0 deletions
18
pkg/db/db_test.go
Normal file
18
pkg/db/db_test.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package db
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestDb(t *testing.T) {
|
||||
t.Run("db 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