[Templates-cvs] cvs commit: Template2/t base.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Mon, 12 Jan 2004 12:08:38 +0000
cvs 04/01/12 12:08:37
Modified: t base.t
Log:
* changed version() to module_version()
Revision Changes Path
2.2 +4 -4 Template2/t/base.t
Index: base.t
===================================================================
RCS file: /template-toolkit/Template2/t/base.t,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- base.t 2004/01/12 11:00:45 2.1
+++ base.t 2004/01/12 12:08:37 2.2
@@ -12,7 +12,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: base.t,v 2.1 2004/01/12 11:00:45 abw Exp $
+# $Id: base.t,v 2.2 2004/01/12 12:08:37 abw Exp $
#
#========================================================================
@@ -122,14 +122,14 @@
ok( ! $mod->error );
#------------------------------------------------------------------------
-# test version() method
+# test module_version() method
#------------------------------------------------------------------------
$pkg = 'Template::Version';
-is( $pkg->version(), 3.14, 'package version' );
+is( $pkg->module_version(), 3.14, 'package version' );
my $obj = $pkg->new() || die $pkg->error();
ok( $obj, 'created a version object' );
-is( $obj->version(), 3.14, 'object version' );
+is( $obj->module_version(), 3.14, 'object version' );