|
|
@ -57,8 +57,4 @@ test_fathom_cursor() { |
|
|
|
assert_equal "$(./fathom-cursor)" "$(./fathom-cursor -x -y)" "fathom_cursor and -x -y outputs differ" |
|
|
|
assert_equal "$(./fathom-cursor)" "$(./fathom-cursor -x -y)" "fathom_cursor and -x -y outputs differ" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Check if the script is being called from another script |
|
|
|
fathom_cursor "$@" |
|
|
|
if [ "${BASH_SOURCE[0]}" = "$0" ]; then |
|
|
|
|
|
|
|
# If not, call the function |
|
|
|
|
|
|
|
fathom_cursor "$@" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|