mirror of https://github.com/pulumi/pulumi.git
09b7aa9186
I got fed up of assert errors in tests that looked like: ``` Expected nil, but got: &result.simpleResult{err:(*errors.fundamental)(0xc0002fa5d0)} ``` It was very hard to work out at a glance what had gone wrong and I kept having to hook a debugger just to look at what the error was. With GoString these now print something like: ``` Expected nil, but got: &simpleResult{err: Unexpected diag message: <{%reset%}>resource violates plan: properties changed: -zed, -baz, -foo<{%reset%}> } ``` Which is much more useful. |
||
---|---|---|
.. | ||
archive | ||
buildutil | ||
ciutil | ||
cmdutil | ||
contract | ||
deepcopy | ||
executable | ||
fsutil | ||
gitutil | ||
goversion | ||
httputil | ||
logging | ||
mapper | ||
result | ||
retry | ||
rpcutil |