From 3634111e3b4fa01b9470c6ce557475f20d971b73 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Mon, 11 Sep 2023 11:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index 3df7dae..24692a6 100644 --- a/main_test.go +++ b/main_test.go @@ -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) }