Merge branch 'js/test-file-size'

Test clean-up.

* js/test-file-size:
  tests: consolidate the `file_size` function into `test-lib-functions.sh`
This commit is contained in:
Junio C Hamano
2020-11-11 13:18:39 -08:00
5 changed files with 24 additions and 42 deletions

View File

@ -783,6 +783,10 @@ test_line_count () {
fi
}
test_file_size () {
test-tool path-utils file-size "$1"
}
# Returns success if a comma separated string of keywords ($1) contains a
# given keyword ($2).
# Examples: