mirror of https://github.com/databricks/cli.git
26f527ef64
## Changes - Fix incorrect use Errorf on literal string. This resulted in garbage output in tests diagnostics where % was replaced by "(MISSING)". - Enable linter on testingT.Errorf. Note, the autofix by the linter is wrong, it proposes `t.Errorf("%s", string)` but it should be `t.Error(string)`. That can corrected manually though. ## Tests Linter was tested manually by reverting the fix on Errorf. |
||
---|---|---|
.. | ||
context.go | ||
context_test.go | ||
golden.go | ||
replacement.go | ||
replacement_test.go | ||
testdiff.go | ||
testdiff_test.go |