Use assert.ErrorIs for error asserstion
The following discussion from !119 (merged) should be addressed:
-
@steveazz started a discussion: suggestion (follow-up): It seems like we have the ability to use
assert.ErrorIs
now that we updated the library which we get the formating and explanation out of the box=== RUN TestDeployVM/with_invalid_response_port client_test.go:145: Error Trace: client_test.go:145 deploy_vm_test.go:107 Error: Target error should be in err chain: expected: "bar" in chain: "parse SSH port \"foo\": strconv.Atoi: parsing \"foo\": invalid syntax" "strconv.Atoi: parsing \"foo\": invalid syntax" "invalid syntax"