diff --git a/tests/table-preset.scm b/tests/table-preset.scm index a5ff5a8..5f558e3 100644 --- a/tests/table-preset.scm +++ b/tests/table-preset.scm @@ -1,6 +1,6 @@ ;;; table-preset.scm -- Tests for table presets. -;; Copyright (C) 2021 Artyom V. Poptsov +;; Copyright (C) 2021-2024 Artyom V. Poptsov ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -31,6 +31,17 @@ (test-assert "table-preset-name?: #f" (not (table-preset-name? "rs=-,cs=|"))) + + +(define %table-presets-path + (format #f "~a/presets" (getenv "abs_top_srcdir"))) + +(test-assert "print-table-presets" + (with-output-to-string + (lambda () + (print-table-presets (current-output-port) + #:table-presets-path %table-presets-path)))) + (define exit-status (test-runner-fail-count (test-runner-current)))