Revert "Add test for strange --version handling"
[gitmo/MooseX-Getopt.git] / t / version_with_options.pl
diff --git a/t/version_with_options.pl b/t/version_with_options.pl
deleted file mode 100644 (file)
index d3c7916..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-package WithOptions;
-use Moose;
-
-with 'MooseX::Getopt';
-
-has print_version => (
-    traits        => [qw(Getopt)],
-    isa           => 'Bool',
-    is            => 'ro',
-    cmd_flag      => 'version',
-    cmd_aliases   => 'v',
-);
-
-sub run {
-    my ($self) = @_;
-
-    if ($self->print_version) {
-        print "SUCCESS\n";
-        exit;
-    }
-}
-
-package main;
-WithOptions->new_with_options;