[Bps-public-commit] Prophet branch, master, updated. 0.742-2-g919b7dc
Christine Spang
spang at bestpractical.com
Sun Jun 6 10:42:32 EDT 2010
The branch, master has been updated
via 919b7dced62cc1adcbb3067a2c5015b1d583f843 (commit)
via a0dad3e6f5782f6d290cc853c721af250524e105 (commit)
from 83466c0e971fe97c5beb14187fc9e686487317bf (commit)
Summary of changes:
Changes | 3 +++
lib/Prophet.pm | 2 +-
t/malformed-url.t | 24 +++++++++---------------
3 files changed, 13 insertions(+), 16 deletions(-)
- Log -----------------------------------------------------------------
commit a0dad3e6f5782f6d290cc853c721af250524e105
Author: Christine Spang <spang at bestpractical.com>
Date: Sun Jun 6 10:33:12 2010 -0400
relax these tests to work around Mouse message change
diff --git a/t/malformed-url.t b/t/malformed-url.t
index 9a6c3e8..1452066 100644
--- a/t/malformed-url.t
+++ b/t/malformed-url.t
@@ -17,28 +17,22 @@ EOM
$ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG} ) . '/repo-' . $$;
(undef, $error) = run_command( 'clone', '--from', 'sqlite:foo' );
-is( $error, <<EOM
-I couldn't determine a filesystem root from the given URL.
-Correct syntax is (sqlite:)file:///replica/root .
-EOM
-, 'sqlite:foo errors out' );
+like( $error, qr{.*I couldn't determine a filesystem root from the given URL\.
+Correct syntax is \(sqlite:\)file:///replica/root .
+}, 'sqlite:foo errors out' );
$ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG} ) . '/repo-' . $$;
(undef, $error) = run_command( 'clone', '--from', 'sqlite://file://foo' );
-is( $error, <<EOM
-I couldn't determine a filesystem root from the given URL.
-Correct syntax is (sqlite:)file:///replica/root .
-EOM
-, 'sqlite://file://foo errors out' );
+like( $error, qr{.*I couldn't determine a filesystem root from the given URL\.
+Correct syntax is \(sqlite:\)file:///replica/root \.
+}, 'sqlite://file://foo errors out' );
$ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG} ) . '/repo-' . $$;
(undef, $error)
= run_command( 'clone', '--from', 'sqlite:http://www.example.com/sd' );
-is( $error, <<EOM
-I couldn't determine a filesystem root from the given URL.
-Correct syntax is (sqlite:)file:///replica/root .
-EOM
-, 'SQLite replicas can\'t be via http' );
+like( $error, qr{.*I couldn't determine a filesystem root from the given URL\.
+Correct syntax is \(sqlite:\)file:///replica/root .
+}, 'SQLite replicas can\'t be via http' );
$ENV{'PROPHET_REPO'} = tempdir( CLEANUP => ! $ENV{PROPHET_DEBUG} ) . '/repo-' . $$;
(undef, $error) = run_command( 'clone',
commit 919b7dced62cc1adcbb3067a2c5015b1d583f843
Author: Christine Spang <spang at bestpractical.com>
Date: Sun Jun 6 10:41:24 2010 -0400
Checking in changes prior to tagging of version 0.743. Changelog diff is:
diff --git a/Changes b/Changes
index 55acc20..7d139de 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.743
+ * Fix test failures so install works again -- spang
+
0.742
* Deal with Path::Dispatcher::Declarative being split from P::D --jesse
diff --git a/Changes b/Changes
index 55acc20..7d139de 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.743
+ * Fix test failures so install works again -- spang
+
0.742
* Deal with Path::Dispatcher::Declarative being split from P::D --jesse
diff --git a/lib/Prophet.pm b/lib/Prophet.pm
index 5010c38..53e1b24 100644
--- a/lib/Prophet.pm
+++ b/lib/Prophet.pm
@@ -3,7 +3,7 @@ use strict;
package Prophet;
-our $VERSION = '0.742';
+our $VERSION = '0.743';
=head1 NAME
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list