[#274] client/status: Support INVALID_ARGUMENT status

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-10-02 11:12:49 +03:00
parent b9092aeb0c
commit d00892f418
No known key found for this signature in database
5 changed files with 128 additions and 6 deletions

View file

@ -137,6 +137,12 @@ func TestToStatusV2(t *testing.T) {
}),
codeV2: 1027,
},
{
status: (statusConstructor)(func() apistatus.Status {
return new(apistatus.InvalidArgument)
}),
codeV2: 1028,
},
} {
var st apistatus.Status