Skip to content

Commit

Permalink
simplify assert
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Jan 26, 2025
1 parent 3f2ae5d commit dd7929b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/general_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,7 @@ func testEphemeralWithOptions(t *testing.T, opts ...hsic.Option) {
return
}

if len(nodes) != 0 {
t.Fatalf("expected no nodes, got %d in user %s", len(nodes), userName)
}
require.Len(t, nodes, 0)
}
}

Expand Down

0 comments on commit dd7929b

Please sign in to comment.