mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 01:52:26 +08:00
test-lib: fix test_str_contains
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
@ -321,7 +321,7 @@ test_should_contain() {
|
||||
test_str_contains() {
|
||||
find=$1
|
||||
shift
|
||||
echo "$@" | grep "$find" >/dev/null
|
||||
echo "$@" | grep "\b$find\b" >/dev/null
|
||||
}
|
||||
|
||||
disk_usage() {
|
||||
|
Reference in New Issue
Block a user