Commits

Shlomi Fish committed 1bde558

Add a test for debian.

  • Participants
  • Parent commits 7f7a20b

Comments (0)

Files changed (1)

Module-Format/Module-Format/t/perlmf-app.t

     plan skip_all => "Test::Trap not found.";
 }
 
-plan tests => 3;
+plan tests => 4;
 
 # TEST
 ok(1, "Test is OK.");
         'as_colon works as expected.',
     );
 }
+
+{
+    trap(sub {
+        Module::Format::PerlMF_App->new(
+            {
+                argv => [qw/deb Foo::Bar::Baz Quux-Stanley/],
+            },
+        )->run();
+    });
+
+    # TEST
+    is (
+        $trap->stdout(), 
+        qq{libfoo-bar-baz-perl libquux-stanley-perl\n},
+        'deb works as expected.',
+    );
+}