[Bps-public-commit] Prophet branch, master, updated. de1eab022a1a740376c1f36ce4f6ae66b7c423d0

clkao at bestpractical.com clkao at bestpractical.com
Wed Apr 15 03:52:10 EDT 2009


The branch, master has been updated
       via  de1eab022a1a740376c1f36ce4f6ae66b7c423d0 (commit)
       via  e96fef598481482bde3a512cac26fe1d258a2f18 (commit)
      from  34269c59de1d6850d5f88f382914a0df654c3f07 (commit)

Summary of changes:
 t/log.t |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit e96fef598481482bde3a512cac26fe1d258a2f18
Author: Chia-liang Kao <clkao at clkao.org>
Date:   Wed Apr 15 15:51:52 2009 +0800

    fix log tests to expect reverse order.

diff --git a/t/log.t b/t/log.t
index 5c0f94a..be26588 100644
--- a/t/log.t
+++ b/t/log.t
@@ -83,7 +83,7 @@ my $third = " $ENV{PROPHET_EMAIL}".' at \d{4}-\d{2}-\d{2} .+	\(3\@'.$replica_uui
 
 # --all
 my $out = run_command('log', '--all');
-like($out, qr{$first\n\n$second\n\n$third\n\n}, "--all outputs all changes");
+like($out, qr{$third\n\n$second\n\n$first\n\n}, "--all outputs all changes");
 
 # range: digit and LATEST
 $out = run_command('log', '--range=0..LATEST~2');
@@ -91,11 +91,11 @@ like($out, qr{$first\n\n}, "just the first change");
 
 # range: assumed end
 $out = run_command('log', '--range=LATEST~2');
-like($out, qr{$second\n\n$third\n\n}, "last two changes");
+like($out, qr{$third\n\n$second\n\n}, "last two changes");
 
 # syntactic sugar
 $out = run_command('log', 'LATEST~2');
-like($out, qr{$second\n\n$third\n\n}, "syntactic sugar doesn't change output");
+like($out, qr{$third\n\n$second\n\n}, "syntactic sugar doesn't change output");
 
 # error -- invalid input
 run_output_matches('prophet', [ 'log', 'invalid' ],

commit de1eab022a1a740376c1f36ce4f6ae66b7c423d0
Merge: e96fef5... 34269c5...
Author: Chia-liang Kao <clkao at clkao.org>
Date:   Wed Apr 15 15:52:05 2009 +0800

    Merge branch 'master' of diesel.bestpractical.com:/git/prophet


-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list