~ubuntu-branches/ubuntu/quantal/padre/quantal

« back to all changes in this revision

Viewing changes to t/07-version.t

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2012-01-04 12:04:20 UTC
  • mfrom: (1.3.3)
  • Revision ID: package-import@ubuntu.com-20120104120420-i5oybqwf91m1d3il
Tags: 0.92.ds1-1
[ gregor herrmann ]
* Remove debian/source/local-options; abort-on-upstream-changes
  and unapply-patches are default in dpkg-source since 1.16.1.
* Swap order of alternative (build) dependencies after the perl
  5.14 transition.

[ Dominique Dumont ]
* Imported Upstream version 0.92.ds1
* removed fix-spelling patch (applied upstream)
* lintian-override: use wildcard to avoid listing a gazillion files
* updated size of some 'not-real-man-page' entries
* rules: remove dekstop cruft (replaced by a file provided in debian
  directory)
* control: removed Breaks statement. Add /me to uploaders. Updated
  dependencies
* rules: make sure that non-DFSG file (i.e. the cute butterfly, sigh)
  is not distributed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/perl
2
 
 
3
 
use 5.006;
4
 
use strict;
5
 
use warnings;
6
 
use Test::More;
7
 
 
8
 
BEGIN {
9
 
        unless ( $ENV{DISPLAY} or $^O eq 'MSWin32' ) {
10
 
                plan skip_all => 'Needs DISPLAY';
11
 
                exit 0;
12
 
        }
13
 
}
14
 
 
15
 
plan( tests => 4 );
16
 
 
17
 
# Search for Padre version
18
 
use_ok('Padre');
19
 
ok( $Padre::VERSION, 'Check Padre module version' );
20
 
 
21
 
my $ext_vers = `$^X script/padre --version`;
22
 
like( $ext_vers, qr/Perl Application Development and Refactoring Environment/, 'Version string text' );
23
 
like( $ext_vers, qr/$Padre::VERSION/, 'Version number' );