Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bats-core/bats-assert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Karns <jason@karns.name>2016-11-09 00:40:21 +0300
committerJason Karns <jason@karns.name>2016-11-09 00:41:28 +0300
commitae447cd8de08f58c38370522d8b111e5f8049845 (patch)
tree8ec685fdde8ef4ae41ae1d29a300ec2bb9e7766e /src
parent0fb9d2aff2bc3d009f650dbc4c3fa200e8438758 (diff)
Update code comments
Diffstat (limited to 'src')
-rw-r--r--src/assert.bash6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/assert.bash b/src/assert.bash
index 5dba42c..202a8f1 100644
--- a/src/assert.bash
+++ b/src/assert.bash
@@ -172,8 +172,9 @@ assert_failure() {
# Options:
# -p, --partial - partial matching
# -e, --regexp - extended regular expression matching
+# - - read expected output from the standard input
# Arguments:
-# $1 - [=STDIN] expected output
+# $1 - expected output
# Returns:
# 0 - expected matches the actual output
# 1 - otherwise
@@ -269,8 +270,9 @@ assert_output() {
# Options:
# -p, --partial - partial matching
# -e, --regexp - extended regular expression matching
+# - - read unexpected output from the standard input
# Arguments:
-# $1 - [=STDIN] unexpected output
+# $1 - unexpected output
# Returns:
# 0 - unexpected matches the actual output
# 1 - otherwise