Skip to content

Commit

Permalink
Test case for empty array
Browse files Browse the repository at this point in the history
Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com>
  • Loading branch information
ArvinthC3000 committed Oct 12, 2023
1 parent 3d7bf98 commit 16fe445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/arrayutils/remove_duplicate_test.go
Expand Up @@ -32,8 +32,8 @@ func TestRemoveStringDuplicates(t *testing.T) {
},
{
title: "empty array",
inputArray: []string{"0.0.0.0", "0.0.0.1"},
expectedArray: []string{"0.0.0.0", "0.0.0.1"},
inputArray: []string{},
expectedArray: []string{},
wantErr: false,
expectedErr: nil,
},
Expand Down

0 comments on commit 16fe445

Please sign in to comment.