diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:39 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:39 -0800 |
| commit | f2061f698292c966498d1caec7c5ce9e2e8f67a3 (patch) | |
| tree | 8d34453ae0fd4575f1b282301b1357b3acbcca48 /t/test-lib-functions.sh | |
| parent | Merge branch 'js/ci-github-set-env' (diff) | |
| parent | tests: consolidate the `file_size` function into `test-lib-functions.sh` (diff) | |
| download | git-f2061f698292c966498d1caec7c5ce9e2e8f67a3.tar.gz git-f2061f698292c966498d1caec7c5ce9e2e8f67a3.zip | |
Merge branch 'js/test-file-size'
Test clean-up.
* js/test-file-size:
tests: consolidate the `file_size` function into `test-lib-functions.sh`
Diffstat (limited to 't/test-lib-functions.sh')
| -rw-r--r-- | t/test-lib-functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 4a35bde145..59bbf75e83 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -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: |
