tarantool / go-tarantool

Tarantool 1.10+ client for Go language
https://pkg.go.dev/github.com/tarantool/go-tarantool/v2
BSD 2-Clause "Simplified" License
180 stars 57 forks source link

test: use coverage instead of equality to test error payload 2 #392

Closed nshy closed 5 months ago

nshy commented 5 months ago

We are going to add missing 'user' payload field for ACCESS_DENIED error which will break current tests. Let fix tests to allow adding new payload fields for errors.

This is another place where we test for payload equality.

Need for https://github.com/tarantool/tarantool/issues/9108

nshy commented 5 months ago

Thanx!