Binding-conflicts test follows localized descriptions
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -146,9 +146,9 @@ chmod +x "$stub_bin/voxtype"
|
|||||||
bindings=$(PATH="$stub_bin:$PATH" list_bindings "$home")
|
bindings=$(PATH="$stub_bin:$PATH" list_bindings "$home")
|
||||||
[[ -n $bindings ]] || fail "default bindings load for the conflict check"
|
[[ -n $bindings ]] || fail "default bindings load for the conflict check"
|
||||||
|
|
||||||
grep -Fq $'SUPER + RETURN\tTerminal' <<<"$bindings" || fail "conflict check sees the essential bindings"
|
grep -Fq $'SUPER + RETURN\t终端' <<<"$bindings" || fail "conflict check sees the essential bindings"
|
||||||
grep -Fq $'SUPER + SHIFT + A\tChatGPT' <<<"$bindings" || fail "conflict check sees the preinstalled bindings"
|
grep -Fq $'SUPER + SHIFT + A\tChatGPT' <<<"$bindings" || fail "conflict check sees the preinstalled bindings"
|
||||||
grep -Fq $'F9\tStart dictation (push-to-talk)' <<<"$bindings" || fail "conflict check sees the Voxtype bindings"
|
grep -Fq $'F9\t开始听写(按住说话)' <<<"$bindings" || fail "conflict check sees the Voxtype bindings"
|
||||||
pass "conflict check covers the full default binding set"
|
pass "conflict check covers the full default binding set"
|
||||||
|
|
||||||
duplicates=$(duplicate_signatures <<<"$bindings")
|
duplicates=$(duplicate_signatures <<<"$bindings")
|
||||||
|
|||||||
Reference in New Issue
Block a user