jharshman
c3b51f3a2e
simplify test
2019-06-07 10:31:03 -04:00
Anthony Fok
b26b538f69
Fix remaining reproducibility in TestGoldenAddCmd
...
My previous fix in PR #504 was incomplete.
Fixes #503
2017-07-31 11:04:27 -06:00
Albert Nigmatzianov
3da102d464
cmd: Fix golden tests if user has config at $HOME
...
Fix #505
2017-07-31 06:38:19 -06:00
Albert Nigmatzianov
99838a52fe
cmd: Small fixes
2017-07-31 06:38:19 -06:00
Anthony Fok
750ba8ac93
Fix reproducibility in TestGolden{Add,Init}Cmd
...
These tests were time-dependent and would start failing in 2018
when the golden files still have the copyright year of 2017.
Fix by hard-coding the year 2017 for the purpose of these two tests
to ensure reproducible builds.
Fixes #503
2017-07-30 00:17:45 -06:00
Anthony Fok
161584fc2e
Fix minor typos: "Know" → "Known"
2017-07-29 22:49:33 -06:00
Albert Nigmatzianov
7bb5276f5f
cmd: Fix panic if cmd ends on dash or underscore
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
76a9a66775
cmd: Add tests
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
6bcf163261
cmd: Validate cmd names
...
Fix #269
2017-05-05 10:35:27 +02:00