X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7ae9fd31204fa5873ceebf1fed5ab22588bd9bd7..7711f3fc00259e55f630cfe6104eff3083dc9d77:/test/format/test-functions diff --git a/test/format/test-functions b/test/format/test-functions index b757e8e0..805ddfec 100755 --- a/test/format/test-functions +++ b/test/format/test-functions @@ -36,5 +36,9 @@ printf '%s\n' -042 >"$expected" fmttest -raw -format '%04(minus -42)' 0 >"$actual" check "$expected" "$actual" +# check multiply +printf '%s\n' 42 >"$expected" +fmttest -raw -format '%(void(num 7))%(multiply 6)' 0 >"$actual" +check "$expected" "$actual" exit $failed