~ubuntu-branches/ubuntu/wily/libapp-cmd-perl/wily-proposed

« back to all changes in this revision

Viewing changes to t/basic.t

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard, upstream
  • Date: 2015-02-25 20:12:47 UTC
  • mfrom: (1.2.19)
  • Revision ID: package-import@ubuntu.com-20150225201247-9gddixxg3xjxsk4n
Tags: 0.327-1
[ upstream ]
New release(s).

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
}
68
68
 
69
69
my $return = test_app('Test::MyCmd', [ qw(--version) ]);
70
 
my $version_expect = "basic.t (Test::MyCmd) version 0.123 (t/basic.t)\n";
71
 
is($return->stdout, $version_expect, "version plugin enabled");
 
70
 
 
71
like(
 
72
  $return->stdout,
 
73
  qr{\Abasic\.t \(Test::MyCmd\) version 0\.123 \(t[\\/]basic\.t\)\Z},
 
74
  "version plugin enabled"
 
75
);
72
76
 
73
77
$return = test_app('Test::MyCmd', [ qw(commands) ]);
74
78