Skip to content

Commit

Permalink
test(feature): Add unit test (#120)
Browse files Browse the repository at this point in the history
* feat(feature): Added retry

Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>

* test(feature): Add unit test

Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>

---------

Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>
  • Loading branch information
flc1125 authored Feb 25, 2024
1 parent 6024589 commit fde3343
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions feature/async_test.go
Original file line number Diff line number Diff line change
@@ -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())
}

0 comments on commit fde3343

Please sign in to comment.