Skip to content

Commit

Permalink
add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbazn committed Nov 29, 2023
1 parent 1b398dd commit 016783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func TestGetRPC(t *testing.T) {
RPCs: tc.rpcs,
}
res, err := cfg.GetRPCsMap(tc.paths)
assert.ErrorIs(t, err, tc.err)
assert.Equal(t, err, tc.err)
assert.Equal(t, &tc.resp, res)
})
}
Expand Down

0 comments on commit 016783a

Please sign in to comment.