You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the type ExecutorResult is a map[string]string under the hood, the assertions that expect numeric, boolean, struct.. types are broken.
For example:
assertion: result.bodyjson.__len__ ShouldBeGreaterThanOrEqualTo '8' Expected '17' to be greater than or equal to '8' (but it wasn't)!
Moreover, some assertions like ShouldContainKey which expect a struct as its first argument is basically unusable since the package github.com/fsamin/go-dump does not dump the root element of a JSON node:
result.bodyjson.bodyjson0 ShouldContainKey field_name
key 'result.bodyjson.bodyjson0' does not exist in result of executor
The text was updated successfully, but these errors were encountered:
Because the type
ExecutorResult
is amap[string]string
under the hood, the assertions that expect numeric, boolean, struct.. types are broken.For example:
Moreover, some assertions like
ShouldContainKey
which expect a struct as its first argument is basically unusable since the package github.com/fsamin/go-dump does not dump the root element of a JSON node:The text was updated successfully, but these errors were encountered: