Skip to content

Commit

Permalink
test: clean up ctx every test
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Feb 23, 2023
1 parent c8f0b17 commit ab4a430
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func TestCreateContext(t *testing.T) {
"no_target": testContextNoTarget,
} {
t.Run(scenario, func(t *testing.T) {
ctx = model.Context{}
fn(t)
})
}
Expand Down

0 comments on commit ab4a430

Please sign in to comment.