fix version check test to handle no chanegd .pm files
authorTony Cook <tony@develop-help.com>
Tue, 12 May 2015 08:38:40 +0000 (18:38 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 12 May 2015 08:38:40 +0000 (18:38 +1000)
t/x90cmp_version.t

index 1df74019405fa84980c851093f807eaa7572e5f0..521114e7af32cb712fbab58688b5bb91638f84b1 100644 (file)
@@ -16,6 +16,9 @@ my @changed = grep /\.pm$/ && m(/),
 
 chomp @changed;
 
+@changed
+  or plan skip_all => "No .pm files changed";
+
 plan tests => scalar @changed;
 
 my @need_update;