diff options
Diffstat (limited to 'test-format-config.sh')
-rwxr-xr-x | test-format-config.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test-format-config.sh b/test-format-config.sh index 036a87b..7999560 100755 --- a/test-format-config.sh +++ b/test-format-config.sh @@ -75,14 +75,14 @@ test_all_options_set_config() { unset_colours prompt="$(render_prompt)" - assertEquals "$prompt" "m 1 → foo1↑ 1A" + assertEquals "$prompt" "m 1 →foo1↑ 1A" export GIT_RADAR_FORMAT="%{remote}%{branch}%{changes}" prepare_zsh_colors unset_colours prompt="$(render_prompt)" - assertEquals "$prompt" "m 1 → foo 1A" + assertEquals "$prompt" "m 1 →foo 1A" export GIT_RADAR_FORMAT="%{branch}%{local}%{changes}" prepare_zsh_colors @@ -116,21 +116,21 @@ test_reorder_parts() { unset_colours prompt="$(render_prompt)" - assertEquals "foo1↑ 1Am 1 → " "$prompt" + assertEquals "foo1↑ 1Am 1 →" "$prompt" export GIT_RADAR_FORMAT="%{local}%{changes}%{remote}%{branch}" prepare_zsh_colors unset_colours prompt="$(render_prompt)" - assertEquals "1↑ 1Am 1 → foo" "$prompt" + assertEquals "1↑ 1Am 1 →foo" "$prompt" export GIT_RADAR_FORMAT="%{changes}%{remote}%{branch}%{local}" prepare_zsh_colors unset_colours prompt="$(render_prompt)" - assertEquals " 1Am 1 → foo1↑" "$prompt" + assertEquals " 1Am 1 →foo1↑" "$prompt" rm_tmp } @@ -203,14 +203,14 @@ test_prefix_and_suffix_remote() { unset_colours prompt="$(render_prompt)" - assertEquals "m 1 → " "$prompt" + assertEquals "m 1 →" "$prompt" export GIT_RADAR_FORMAT="%{[:remote:]}" prepare_zsh_colors unset_colours prompt="$(render_prompt)" - assertEquals "[m 1 → ]" "$prompt" + assertEquals "[m 1 →]" "$prompt" rm_tmp } |