parent
7f8fd10b66
commit
3634111e3b
@ -1,12 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"goweb/database"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAdd(t *testing.T) {
|
||||
if ans := database.CreateTable(); ans == 0 {
|
||||
if ans := 3; ans == 0 {
|
||||
t.Errorf("1 + 2 expected be 3, but %d got", ans)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user