Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smsunarto committed Nov 13, 2023
1 parent 227c176 commit 44e710d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardinal/ecs/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ func TestErrOnNoNameOrHandler(t *testing.T) {
shouldErr bool
}{
{
name: "panic on no name",
name: "error on no name",
createQuery: func() error {
return ecs.RegisterQuery[foo, foo](testutils.NewTestWorld(t).Instance(), "", nil)
},
shouldErr: true,
},
{
name: "panic on no handler",
name: "error on no handler",
createQuery: func() error {
return ecs.RegisterQuery[foo, foo](testutils.NewTestWorld(t).Instance(), "foo", nil)
},
Expand Down

0 comments on commit 44e710d

Please sign in to comment.