mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
* feat(cli): add golden tests for errors (#11588) Creates golden files from `coder/cli/errors.go`. Adds a unit test to test against golden files. Adds a make file command to regenerate golden files. Abstracts test against golden files.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Encountered an error running "coder exp example-error arg-required", see "coder exp example-error arg-required --help" for more information
|
||||
error: wanted 1 args but got 0 []
|
||||
Reference in New Issue
Block a user