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 1df7401..521114e 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;