The test is broken when run with chg because it prints a different
error message when chg is running. This commit fixes the test by special casing
for chg.
Details
Details
Ran the test 'test-dispatch.t' with and without '--chg' option.
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Just a small nit.
tests/test-dispatch.t | ||
---|---|---|
72–73 | Alternatively, you can use individual line matching without duplicating the hg version line: abort: error getting current working directory: * (glob) (no-chg !) chg: abort: failed to getcwd (errno = *) (glob) (chg !) | |
81 | errno and error message could be platform dependent: chg: ... (errno = *) (glob) |
Alternatively, you can use individual line matching without duplicating the hg version line: