Refactor error assertion in Test_RepoMetadataTeams
Replaces manual error check with require.NoError for consistency and improved readability in the test.
This commit is contained in:
parent
df317d4a05
commit
e5feda353f
1 changed files with 0 additions and 4 deletions
|
|
@ -243,10 +243,6 @@ func Test_RepoMetadataTeams(t *testing.T) {
|
|||
`))
|
||||
|
||||
_, err := RepoMetadata(client, repo, input)
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue