mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
11 lines
185 B
Bash
11 lines
185 B
Bash
|
fail() {
|
||
|
local test_name="$1"
|
||
|
local message="$2"
|
||
|
|
||
|
: "${message:=Test $test_name failed}"
|
||
|
|
||
|
local full_msg="$test_name :: $message"
|
||
|
echo "Failed: $full_msg"
|
||
|
export FAILED=1
|
||
|
}
|