X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Ftests.t;h=a1b80126f4e5dac114503965a54f9ba2a92c0e09;hp=21fca072a3f42bb5eda4262edd3288721753402f;hb=93540e07ace91544bd5e72f509d6b83744d98e07;hpb=bf5719acca9adbff052c317394c2c3ac8a815b62 diff --git a/t/tests.t b/t/tests.t index 21fca07..a1b8012 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 136; +use Test::More tests => 138; sub is_blhc { @@ -56,6 +56,23 @@ is_blhc '', '--invalid', 2, is_blhc '', '', 2, $usage; +is_blhc '', '--version', 0, + 'blhc 0.01 Copyright (C) 2012 Simon Ruderich + +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 +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +'; + # No compiler commands found.