test: make the repo size check error message better

License: MIT
Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
上级 e3d483fc
...@@ -24,7 +24,7 @@ assert_repo_size_less_than() { ...@@ -24,7 +24,7 @@ assert_repo_size_less_than() {
test_expect_success "check repo size" ' test_expect_success "check repo size" '
test "$(get_repo_size)" -lt "$expval" || 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() { ...@@ -33,7 +33,7 @@ assert_repo_size_greater_than() {
test_expect_success "check repo size" ' test_expect_success "check repo size" '
test "$(get_repo_size)" -gt "$expval" || test "$(get_repo_size)" -gt "$expval" ||
test_fsh get_repo_size { echo should be above "$expval" && test_fsh get_repo_size; }
' '
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论