From 2d66bb548f4cb0b03de42d3991edca782a146608 Mon Sep 17 00:00:00 2001 From: "D. Bohdan" Date: Thu, 28 Sep 2023 14:17:44 +0000 Subject: [PATCH] test: add new help tests --- tests/hicolor.test | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/hicolor.test b/tests/hicolor.test index f3bf66a..203bf47 100755 --- a/tests/hicolor.test +++ b/tests/hicolor.test @@ -56,7 +56,17 @@ tcltest::test version-2.1 {} -body { tcltest::test help-1.1 {} -body { - hicolor help 2>@1 + hicolor help +} -match glob -result *usage:* + + +tcltest::test help-1.2 {} -body { + hicolor -h +} -match glob -result *usage:* + + +tcltest::test help-1.3 {} -body { + hicolor --help } -match glob -result *usage:*