jj/tests
Martin von Zweigbergk b45bada00f cli: clarify error message when jj untrack argument is not ignored
As pointed out by @arxanas in #88, the message saying something like
"At least 'bin/.DS_Store' was added back ..." is confusing especially
when the command you ran was just `jj untrack bin/.DS_Store`. Let's
clarify the message by saying exactly how many more files there are,
and specialize the message for when there is only one file. Also
update the message to say "would be added back" instead of "was added
back" since we don't actually change anything if some files would be
added back (since 4b91ad408c).

Should we even list all the files? I'm concerned that such a list
could be very long. On the other hand, it can also be annoying to have
to run `jj untrack some/dir/` and only be told about single file to
add to the ignore patterns every time.
2022-03-02 22:43:09 -08:00
..
smoke_test.rs tests: add helper for matching regex and capturing groups 2022-03-02 22:00:24 -08:00
test_global_opts.rs cli: add test of --no-commit-working-copy 2022-03-02 22:00:24 -08:00
test_init_command.rs tests: use assert_cmd for e2e tests 2022-03-02 22:00:24 -08:00
test_ui.rs cli: parse file names as relative and using platform separator 2021-06-09 22:56:02 -07:00
test_untrack_command.rs cli: clarify error message when jj untrack argument is not ignored 2022-03-02 22:43:09 -08:00