mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
test: make the repo size check error message better
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
e3d483fc7c
commit
0ccb4e82f8
@ -24,7 +24,7 @@ assert_repo_size_less_than() {
|
||||
|
||||
test_expect_success "check repo size" '
|
||||
test "$(get_repo_size)" -lt "$expval" ||
|
||||
test_fsh get_repo_size
|
||||
{ echo should be bellow "$expval" && test_fsh get_repo_size; }
|
||||
'
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ assert_repo_size_greater_than() {
|
||||
|
||||
test_expect_success "check repo size" '
|
||||
test "$(get_repo_size)" -gt "$expval" ||
|
||||
test_fsh get_repo_size
|
||||
{ echo should be above "$expval" && test_fsh get_repo_size; }
|
||||
'
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user