Skip to content

Commit 4e86c76

Browse files
committed
chore(test): make project_open scan assertion locale-independent
1 parent 8c4decf commit 4e86c76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/project_open_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tmux() { return 0; }
4444

4545
test_scan() {
4646
local out
47-
out="$(_project_open_scan | sed "s#^${ROOT}/##" | sort | tr '\n' ',')"
47+
out="$(_project_open_scan | sed "s#^${ROOT}/##" | LC_ALL=C sort | tr '\n' ',')"
4848
assert_eq "scan finds outermost projects, excludes submodules" \
4949
"deep/a/b/proj,misc/khuey,mods/HoldFast,wordpress/acme,wordpress/beta," \
5050
"${out}"

0 commit comments

Comments
 (0)