Permalink
Browse files

Tests: Hard-code location of todo.sh.

As todo.sh is placed by test-lib at a fixed place, avoid the lookup through which.
  • Loading branch information...
1 parent 3e82f3c commit b21d16878f0ec41e0c5e1841fa2475280ffeb296 @inkarkat inkarkat committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/t0100-code-nobacktick.sh
@@ -15,7 +15,7 @@ backtick_check()
}
test_todo_session 'no old-style backtick command substitution' <<EOF
->>> backtick_check "$(which todo.sh)"
+>>> backtick_check bin/todo.sh
EOF
test_done

0 comments on commit b21d168

Please sign in to comment.