diff options
author | Michael Muré <batolettre@gmail.com> | 2022-08-18 16:20:36 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-08-18 16:20:36 +0200 |
commit | 5ca686b59751e3c87740b84108c54fc675a074cf (patch) | |
tree | df745b9402ffc1be4088b5e7b3954b165d7a80d3 /board | |
parent | 6664a251f1893e6ddc183aa6061d6f0fd4f40a57 (diff) | |
download | git-bug-5ca686b59751e3c87740b84108c54fc675a074cf.tar.gz |
remove file that shouldn't be there
Diffstat (limited to 'board')
-rw-r--r-- | board/resolver_test.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/board/resolver_test.go b/board/resolver_test.go deleted file mode 100644 index 77bfbe61..00000000 --- a/board/resolver_test.go +++ /dev/null @@ -1,28 +0,0 @@ -package board - -import ( - "fmt" - "testing" - - "github.com/stretchr/testify/require" - - "github.com/MichaelMure/git-bug/bug" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/identity" - "github.com/MichaelMure/git-bug/repository" -) - -func TestResolvers(t *testing.T) { - repo := repository.NewMockRepo() - - rs := entity.Resolvers{ - &identity.IdentityStub{}: identity.NewStubResolver(), - &identity.Identity{}: identity.NewSimpleResolver(repo), - &bug.Bug{}: bug.NewSimpleResolver(repo), - } - - ide, err := entity.Resolve[identity.Interface](rs, "foo") - require.NoError(t, err) - - fmt.Println(ide) -} |