Update comment in tests//vars-and-functions.sh

Co-authored-by: tomberek <tomberek@users.noreply.github.com>
This commit is contained in:
Robert Hensing 2024-07-23 10:24:18 +02:00 committed by GitHub
parent 41a03738d6
commit 4457cebe05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -306,7 +306,8 @@ onError() {
# Example (showns as string): 'repl.sh:123: in call to grepQuiet: ' # Example (showns as string): 'repl.sh:123: in call to grepQuiet: '
# This function is inefficient, so it should only be used in error messages. # This function is inefficient, so it should only be used in error messages.
callerPrefix() { callerPrefix() {
# Find the closes caller that's not from this file # Find the closest caller that's not from this file
# using the bash `caller` builtin.
local i file line fn savedFn local i file line fn savedFn
# Use `caller` # Use `caller`
for i in $(seq 0 100); do for i in $(seq 0 100); do