Commits

Shlomi Fish  committed f321873

Add the dogfood test.

  • Participants
  • Parent commits b359691

Comments (0)

Files changed (1)

File Test-TrailingSpace/t/dogfood.t

+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+use Test::TrailingSpace;
+
+my $finder = Test::TrailingSpace->new(
+    {
+        root => '.',
+        filename_regex => qr/\.(?:t|pm|pl)\z/,
+    },
+);
+
+# TEST
+$finder->no_trailing_space(
+    "No trailing space was found."
+);
+