From cb6110878498d65b821d4fc0ac9333cd29b8cc73 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Thu, 28 Oct 2021 23:34:30 +0200 Subject: [PATCH] add test placeholder for db --- pkg/db/db_test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkg/db/db_test.go diff --git a/pkg/db/db_test.go b/pkg/db/db_test.go new file mode 100644 index 0000000..0a9e3ed --- /dev/null +++ b/pkg/db/db_test.go @@ -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) + } + + }) +}