diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-28 23:37:44 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-11-06 00:46:26 +0100 |
commit | 908e7042604599caa19c3d7e607a72b60f686ccd (patch) | |
tree | 4f3f02922e0519f95b6d9fa5be4dd1f3971961eb /module/hnh/test | |
parent | Add basic tests for coverage manipulation. (diff) | |
download | calp-908e7042604599caa19c3d7e607a72b60f686ccd.tar.gz calp-908e7042604599caa19c3d7e607a72b60f686ccd.tar.xz |
Add tests for '(hnh test util)'.
Diffstat (limited to 'module/hnh/test')
-rw-r--r-- | module/hnh/test/util.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/hnh/test/util.scm b/module/hnh/test/util.scm index b0f3342a..ba0f8bfb 100644 --- a/module/hnh/test/util.scm +++ b/module/hnh/test/util.scm @@ -38,7 +38,8 @@ (define (string-replace-head s1 s2) (string-replace s1 s2 - 0 (string-length s2))) + 0 (min (string-length s1) + (string-length s2)))) (define diff-cmd |