~ubuntu-branches/ubuntu/utopic/libmodule-info-perl/utopic

« back to all changes in this revision

Viewing changes to t/n3_version.t

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt, gregor herrmann, Ansgar Burchardt, Salvatore Bonaccorso
  • Date: 2010-06-06 21:51:52 UTC
  • Revision ID: james.westby@ubuntu.com-20100606215152-jixscux2upyst0lu
Tags: 0.31-2
[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
  field (source stanza); Homepage field (source stanza).
* Set Maintainer to Debian Perl Group.
* Use dist-based URL in debian/watch.
* debian/control: Added: ${misc:Depends} to Depends: field.

[ Ansgar Burchardt ]
* debian/watch: Use extended regexp to match upstream releases.
* Refresh rules for debhelper 7.
* Use Build.PL.
* Use source format 3.0 (quilt).
* Convert debian/copyright to proposed machine-readable format.
* Do not use embedded copy of Test-Simple during build.
* Compare versions as numbers, not as strings in tests.
  + new patch: version-comparison.patch
* Use is_deeply the right way.
  + new patch: is-deeply.patch
* Fix spelling errors.
  + new patch: spelling.patch
* Add missing whatis entry to B::Module::Info.
  + new patch: whatis-entry.patch
* Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.

[ Salvatore Bonaccorso ]
* debian/control: Changed: Replace versioned (build-)dependency on
  perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
  permitted by Debian Policy 3.8.3).

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
}
21
21
 
22
22
is( $moo->use_version, 0 );
23
 
is( $moo->version, '0.12' );
24
 
is( $boo->version, '1.35', 'proper quoting in complex expression' );
 
23
is( $moo->version, 0.12 );
 
24
is( $boo->version, 1.35, 'proper quoting in complex expression' );
25
25
 
26
26
SKIP: {
27
27
    skip 'version.pm not found', 5 unless $has_version_pm;
28
28
 
29
29
    is( $moo_ver->use_version, 1 );
30
30
    isa_ok( $moo_ver->version, 'version' );
31
 
    is( $moo_ver->version, '0.120' );
 
31
    is( $moo_ver->version, 0.120 );
32
32
 
33
33
    isa_ok( $foo_ver->version, 'version' );
34
 
    is( $foo_ver->version, '7.254' );
 
34
    is( $foo_ver->version, 7.254 );
35
35
}
36
36
 
37
37
SKIP: {