Changeset 1378 for trunk/LATMOS-Accounts/t
- Timestamp:
- 08/13/15 18:07:55 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/t/05_utils.t
r1216 r1378 1 1 use strict; 2 2 use warnings; 3 use Test::More tests => 16;3 use Test::More tests => 21; 4 4 use File::Temp qw(mkstemp); 5 5 … … 44 44 ok(LATMOS::Accounts::Utils::check_ug_validity('5toto'), '"5toto" is invalid username'); 45 45 ok(!LATMOS::Accounts::Utils::check_ug_validity('t5oto'), '"t5oto" is valid username'); 46 47 is(yesno('yes'), 1, 'yes is true'); 48 is(yesno('true'), 1, 'true is true'); 49 is(yesno('23'), 1, '23 is true'); 50 is(yesno('no'), 0, 'no is false'); 51 is(yesno('what'), 'what', 'what is what?');
Note: See TracChangeset
for help on using the changeset viewer.