Skip to content

Commit e13b18d

Browse files
committed
Escape env var in test name! Should be literally displayed.
1 parent 9d1b52f commit e13b18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-open.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ notes="./notes"
8383
assert_output "Editing $NOTES_DIRECTORY/note.md"
8484
}
8585

86-
@test "Uses 'editor' if $EDITOR is not available" {
86+
@test "Uses 'editor' if \$EDITOR is not available" {
8787
unset EDITOR
8888
# Simulate a `editor` symlink (as in Debian/Ubuntu/etc)
8989
function editor() { echo "Editor bin, editing $*"; }

0 commit comments

Comments
 (0)