[svn:parrot] r37165 - trunk/t/configure

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Sat Mar 7 13:11:45 UTC 2009


Author: jkeenan
Date: Sat Mar  7 13:11:44 2009
New Revision: 37165
URL: https://trac.parrot.org/parrot/changeset/37165

Log:
Switch order of two calls in order to hit cache differently.

Modified:
   trunk/t/configure/023-version.t

Modified: trunk/t/configure/023-version.t
==============================================================================
--- trunk/t/configure/023-version.t	Sat Mar  7 12:36:15 2009	(r37164)
+++ trunk/t/configure/023-version.t	Sat Mar  7 13:11:44 2009	(r37165)
@@ -25,11 +25,13 @@
     # Case 5:  Valid version number
     make_VERSION_file(q{0.4.11});
     my ( $pv, @pv );
-    $pv = Parrot::BuildUtil::parrot_version();
-    is( $pv, q{0.4.11}, "Correct version number returned in scalar context" );
-
     @pv = Parrot::BuildUtil::parrot_version();
-    is_deeply( \@pv, [ 0, 4, 11 ], "Correct version number returned in list context" );
+    is_deeply( \@pv, [ 0, 4, 11 ],
+        "Correct version number returned in list context" );
+
+    $pv = Parrot::BuildUtil::parrot_version();
+    is( $pv, q{0.4.11},
+        "Correct version number returned in scalar context" );
 
     unlink q{VERSION}
         or croak "Unable to delete file from tempdir after testing";


More information about the parrot-commits mailing list