summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xradar-base.sh2
-rwxr-xr-xtest-colors.sh4
-rwxr-xr-xtest-files.sh2
-rwxr-xr-xtest-format-config.sh8
-rwxr-xr-xtest-status.sh2
5 files changed, 9 insertions, 9 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 099debd..42ec333 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -405,7 +405,7 @@ untracked_status() {
local filesUntracked="$(printf '%s' "$gitStatus" | grep "?? " | wc -l | grep -oEi '[1-9][0-9]*')"
if [ -n "$filesUntracked" ]; then
- untracked_string="$untracked_string$filesUntracked${prefix}A${suffix}"
+ untracked_string="$untracked_string$filesUntracked${prefix}?${suffix}"
fi
printf '%s' "$untracked_string"
}
diff --git a/test-colors.sh b/test-colors.sh
index 8cc072b..927dab3 100755
--- a/test-colors.sh
+++ b/test-colors.sh
@@ -459,7 +459,7 @@ test_bash_colors_changes() {
touch bar
git add bar
echo "bar" > bar
- untracked="1\x01changes-untracked\x02A\x01change-reset\x02"
+ untracked="1\x01changes-untracked\x02?\x01change-reset\x02"
unstaged="1\x01changes-unstaged\x02M\x01change-reset\x02"
staged="1\x01changes-staged\x02A\x01change-reset\x02"
@@ -481,7 +481,7 @@ test_zsh_colors_changes() {
touch bar
git add bar
echo "bar" > bar
- untracked="1%{changes-untracked%}A%{change-reset%}"
+ untracked="1%{changes-untracked%}?%{change-reset%}"
unstaged="1%{changes-unstaged%}M%{change-reset%}"
staged="1%{changes-staged%}A%{change-reset%}"
diff --git a/test-files.sh b/test-files.sh
index 8f46edf..b27a18c 100755
--- a/test-files.sh
+++ b/test-files.sh
@@ -22,7 +22,7 @@ test_untracked_files() {
assertEquals "" "$(untracked_status)"
touch foo
- assertEquals "1A" "$(untracked_status)"
+ assertEquals "1?" "$(untracked_status)"
git add .
assertEquals "" "$(untracked_status)"
diff --git a/test-format-config.sh b/test-format-config.sh
index 72ac60d..b22bbbf 100755
--- a/test-format-config.sh
+++ b/test-format-config.sh
@@ -91,28 +91,28 @@ test_all_options_set_config() {
unset_colours
prompt="$(render_prompt)"
- assertEquals "$prompt" "m 1 →foo1↑1A"
+ assertEquals "$prompt" "m 1 →foo1↑1?"
export GIT_RADAR_FORMAT="%{remote}%{branch}%{changes}"
prepare_zsh_colors
unset_colours
prompt="$(render_prompt)"
- assertEquals "$prompt" "m 1 →foo1A"
+ assertEquals "$prompt" "m 1 →foo1?"
export GIT_RADAR_FORMAT="%{branch}%{local}%{changes}"
prepare_zsh_colors
unset_colours
prompt="$(render_prompt)"
- assertEquals "$prompt" "foo1↑1A"
+ assertEquals "$prompt" "foo1↑1?"
export GIT_RADAR_FORMAT="%{branch}%{changes}"
prepare_zsh_colors
unset_colours
prompt="$(render_prompt)"
- assertEquals "$prompt" "foo1A"
+ assertEquals "$prompt" "foo1?"
export GIT_RADAR_FORMAT="%{branch}"
prepare_zsh_colors
diff --git a/test-status.sh b/test-status.sh
index 8c6bf89..7378986 100755
--- a/test-status.sh
+++ b/test-status.sh
@@ -30,7 +30,7 @@ UU modified-both-conflicted
assertEquals "line:${LINENO}" "1_U-1_T-1_B-"\
"$(conflicted_status "$status" "$prefix" "$suffix")"
- assertEquals "line:${LINENO}" "1_A-"\
+ assertEquals "line:${LINENO}" "1_?-"\
"$(untracked_status "$status" "$prefix" "$suffix")"
}