ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Yuya Nishihara 3d41db1659 config: move NO_COLOR handling from ui, don't override user setting
According to the NO_COLOR FAQ, "user-level configuration files [...] should
override $NO_COLOR." https://no-color.org/

Unfortunately this makes it harder to test the $NO_COLOR behavior since the
test environment isn't attached to a tty. We could allocate a pty or
LD_PRELOAD shim to intercept isatty(), but I feel it would be too much to do.

https://github.com/assert-rs/assert_cmd/issues/138
2022-06-10 12:47:06 +09:00
..
common tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
smoke_test.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_alias.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_branch_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_concurrent_operations.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_describe_command.rs cli: respect $VISUAL, overriding $EDITOR 2022-05-10 10:39:59 -07:00
test_diff_command.rs tests: add tests for jj diff 2022-04-02 14:22:58 -07:00
test_edit_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_git_colocated.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_git_push.rs cli: prevent pushing commits without description, author, or committer 2022-06-06 17:31:01 -07:00
test_git_remotes.rs cli: add a command for listing git remotes and their URLs 2022-04-29 14:08:24 -07:00
test_gitignores.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_global_opts.rs config: move NO_COLOR handling from ui, don't override user setting 2022-06-10 12:47:06 +09:00
test_init_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_log_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_move_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_new.rs checkout: don't abandon old commit if it has non-empty description 2022-05-21 22:12:15 -07:00
test_operations.rs graphlog: don't de-indent multi-line text at end of chain 2022-05-11 04:42:44 -07:00
test_print_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_rebase_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_restore_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_sparse_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_split_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_squash_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_undo.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_unsquash_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_untrack_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_workspaces.rs cli: make move/squash/unsquash keep empty working-copy commit 2022-05-30 07:52:24 -07:00