X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthors.t;fp=xt%2Fauthors.t;h=48e693faeda91f8ea9a9617f8e5c1a66e7fe964c;hb=f06eb015d1f5a43c9fc6c44e6d0b2f73a5aca1e0;hp=5eb533b656d9e3251390bbc2bba7b0444c2c23b2;hpb=4c5a4bc230c634b8f34fb3b9e3903998d7cb2c27;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/authors.t b/xt/authors.t index 5eb533b..48e693f 100644 --- a/xt/authors.t +++ b/xt/authors.t @@ -19,9 +19,15 @@ my @known_authors = do { } or die "Known AUTHORS file seems empty... can't happen..."; is_deeply ( - [ grep { /^\s/ } @known_authors ], + [ grep { /^\s/ or /\s\s/ } @known_authors ], [], - "No entries with leading space", + "No entries with leading or doubled space", +); + +is_deeply ( + [ grep { / \:[^\s\/] /x or /^ [^:]*? \s+ \: /x } @known_authors ], + [], + "No entries with malformed nicks", ); is_deeply (