From fde334308741e8c0b143d9b54f4ee97cc34b421a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Flc=E3=82=9B?= Date: Sun, 25 Feb 2024 23:35:03 +0800 Subject: [PATCH] test(feature): Add unit test (#120) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(feature): Added retry Signed-off-by: Flc゛ * test(feature): Add unit test Signed-off-by: Flc゛ --------- Signed-off-by: Flc゛ --- feature/async_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 feature/async_test.go diff --git a/feature/async_test.go b/feature/async_test.go new file mode 100644 index 00000000..9245c81b --- /dev/null +++ b/feature/async_test.go @@ -0,0 +1,13 @@ +package feature + +import ( + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestAsync(t *testing.T) { + f := AsyncFeature{} + + assert.True(t, f.Async()) +}