Skip to content

Commit 493c879

Browse files
committed
feat(tests): extra context in PS4
1 parent 7f88193 commit 493c879

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run-tests

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
# Set colour escape sequences
1717

18+
PS4='+ ${BASH_SOURCE:-$0}@${LINENO:-0}${FUNCNAME:+#${FUNCNAME}()}: '
19+
1820
if [[ -n "${NO_COLOR:-}" ]] || ! colors="$(tput colors 2>/dev/null)" || (( "${colors:-0}" < 16 )); then
1921
RED=''
2022
YELLOW=''

0 commit comments

Comments
 (0)