Skip to content

Commit 438fcfd

Browse files
committed
test: drop redundant 'function' keyword
1 parent f3139ec commit 438fcfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/units/testsuite-02.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fi
3434
# Arguments:
3535
# $1: test path
3636
# $2: test exit code
37-
function report_result() {
37+
report_result() {
3838
if [[ $# -ne 2 ]]; then
3939
echo >&2 "check_result: missing arguments"
4040
exit 1

test/units/testsuite-16.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rm -f /test.log
77

88
TESTLOG=/test.log.XXXXXXXX
99

10-
function wait_for()
10+
wait_for()
1111
{
1212
local service="${1:-wait_for: missing service argument}"
1313
local result="${2:-success}"
@@ -23,7 +23,7 @@ function wait_for()
2323
fi
2424
}
2525

26-
function wait_for_timeout()
26+
wait_for_timeout()
2727
{
2828
local unit="$1"
2929
local time="$2"

0 commit comments

Comments
 (0)