From e247cbd11e082a2485a893ce253a8d0e07b745d2 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Thu, 28 Oct 2021 22:54:36 +0200 Subject: [PATCH] add api packate test placeholder --- pkg/api/api_test.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkg/api/api_test.go diff --git a/pkg/api/api_test.go b/pkg/api/api_test.go new file mode 100644 index 0000000..abaa9b4 --- /dev/null +++ b/pkg/api/api_test.go @@ -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) + } + + }) +}