Skip to content

Commit

Permalink
Simplify interface implementation test for targetFilterSource
Browse files Browse the repository at this point in the history
  • Loading branch information
BadLiveware committed Jun 29, 2023
1 parent 42dde17 commit 3dbcb9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/targetfiltersource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package source
import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/net/context"

Expand Down Expand Up @@ -91,7 +90,7 @@ func TestTargetFilterSource(t *testing.T) {

// TestTargetFilterSourceImplementsSource tests that targetFilterSource is a valid Source.
func TestTargetFilterSourceImplementsSource(t *testing.T) {
assert.Implements(t, (*Source)(nil), new(targetFilterSource))
var _ Source = &targetFilterSource{}
}

func TestTargetFilterSourceEndpoints(t *testing.T) {
Expand Down

0 comments on commit 3dbcb9c

Please sign in to comment.