mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 18:13:54 +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() {
|
test_str_contains() {
|
||||||
find=$1
|
find=$1
|
||||||
shift
|
shift
|
||||||
echo "$@" | grep "$find" >/dev/null
|
echo "$@" | grep "\b$find\b" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
disk_usage() {
|
disk_usage() {
|
||||||
|
Reference in New Issue
Block a user