[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. dfe93d8de5979fd5f07b82aea451d84f515a6292

jesse jesse at bestpractical.com
Sat Jan 17 23:49:53 EST 2009


The branch, master has been updated
       via  dfe93d8de5979fd5f07b82aea451d84f515a6292 (commit)
      from  0176794c256d3999ea2256bfe80e2a5a97f700c6 (commit)

Summary of changes:
 t/sd-hm/basics.t               |    8 ++++----
 t/sd-hm/group.t                |    8 ++++----
 t/sd-hm/tag.t                  |    8 ++++----
 t/sd-rt/sd-rt-hm-single.t      |    4 ++--
 t/sd-rt/sd-rt-hm.t             |    4 ++--
 t/sd-rt/sd-rt-n-foreign-sync.t |    4 ++--
 6 files changed, 18 insertions(+), 18 deletions(-)

- Log -----------------------------------------------------------------
commit dfe93d8de5979fd5f07b82aea451d84f515a6292
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Jan 17 23:49:32 2009 -0500

    Updated tests for new prophet list formatting

diff --git a/t/sd-hm/basics.t b/t/sd-hm/basics.t
index d1aec75..4c395f2 100644
--- a/t/sd-hm/basics.t
+++ b/t/sd-hm/basics.t
@@ -54,7 +54,7 @@ $task->set_summary('Crash Man');
 
 ( $ret, $out, $err ) = run_script( 'sd', [ 'pull', '--from', $sd_hm_url ] );
 
-run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man (no status)"] );
+run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man -"] );
 
 
 ( $ret, $out, $err ) = run_script( 'sd', [ 'ticket', 'show', '--batch', '--id', $flyman_uuid ] );
@@ -69,7 +69,7 @@ run_output_matches_unordered(
     [ 'ticket', 'list', '--regex', '.' ],
     [ sort  
         "$yatta_id YATTA new",
-        "$flyman_id Crash Man (no status)"
+        "$flyman_id Crash Man -"
     
     ]
 );
@@ -83,7 +83,7 @@ ok( $task->load_by_cols( summary => 'YATTA' ) );
 run_output_matches_unordered(
     'sd',
     [ 'ticket',                     'list', '--regex', '.' ],
-    [ sort "$yatta_id YATTA new", "$flyman_id Crash Man (no status)" ]
+    [ sort "$yatta_id YATTA new", "$flyman_id Crash Man -" ]
 );
 
 $task->set_summary('KILL');
@@ -93,5 +93,5 @@ $task->set_summary('KILL');
 run_output_matches_unordered(
     'sd',
     [ 'ticket',                    'list', '--regex', '.' ],
-    [ sort "$yatta_id KILL new", "$flyman_id Crash Man (no status)" ]
+    [ sort "$yatta_id KILL new", "$flyman_id Crash Man -" ]
 );
diff --git a/t/sd-hm/group.t b/t/sd-hm/group.t
index ee0391c..d632e03 100644
--- a/t/sd-hm/group.t
+++ b/t/sd-hm/group.t
@@ -83,7 +83,7 @@ my ($flyman_uuid, $flyman_id );
 {
     $task->set_summary('Crash Man');
     ( $ret, $out, $err ) = run_script( 'sd', [ 'pull', '--from', $sd_hm_url ] );
-    run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man (no status)"] );
+    run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man -"] );
 }
 
 
@@ -91,7 +91,7 @@ my ($yatta_id, $yatta_uuid) = create_ticket_ok( '--summary', 'YATTA', '--status'
 
 run_output_matches_unordered(
     'sd', [ qw(ticket list --regex .) ],
-    [ "$yatta_id YATTA new", "$flyman_id Crash Man (no status)" ]
+    [ "$yatta_id YATTA new", "$flyman_id Crash Man -" ]
 );
 
 {
@@ -104,7 +104,7 @@ run_output_matches_unordered(
     my ( $ret, $out, $err ) = run_script( 'sd', [ 'pull', '--from', $sd_hm_url ] );
     run_output_matches_unordered(
         'sd', [ qw(ticket list --regex .) ],
-        [ "$yatta_id YATTA new", "$flyman_id Crash Man (no status)" ]
+        [ "$yatta_id YATTA new", "$flyman_id Crash Man -" ]
     );
 }
 
@@ -113,7 +113,7 @@ run_output_matches_unordered(
     my ($ret, $out, $err) = run_script( 'sd', [ 'pull', '--from', $sd_hm_url ] );
     run_output_matches_unordered(
         'sd', [ qw(ticket list --regex .) ],
-        [ "$yatta_id KILL new", "$flyman_id Crash Man (no status)" ]
+        [ "$yatta_id KILL new", "$flyman_id Crash Man -" ]
     );
 }
 
diff --git a/t/sd-hm/tag.t b/t/sd-hm/tag.t
index 0a797cf..e19dd0b 100644
--- a/t/sd-hm/tag.t
+++ b/t/sd-hm/tag.t
@@ -70,7 +70,7 @@ my ($flyman_uuid, $flyman_id );
 {
     $task->set_summary('Crash Man');
     ( $ret, $out, $err ) = run_script( 'sd', [ 'pull', '--from', $sd_hm_url ] );
-    run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man (no status)"] );
+    run_output_matches_unordered( 'sd', [ 'ticket', 'list', '--regex', '.' ], ["$flyman_uuid Crash Man -"] );
 }
 
 
@@ -80,7 +80,7 @@ diag $yatta_uuid;
 run_output_matches_unordered(
     'sd',
     [ 'ticket', 'list', '--regex', '.' ],
-    [ "$yatta_id YATTA new", "$flyman_id Crash Man (no status)" ]
+    [ "$yatta_id YATTA new", "$flyman_id Crash Man -" ]
 );
 
 {
@@ -95,7 +95,7 @@ run_output_matches_unordered(
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                     'list', '--regex', '.' ],
-        [ "$yatta_id YATTA new", "$flyman_id Crash Man (no status)" ]
+        [ "$yatta_id YATTA new", "$flyman_id Crash Man -" ]
     );
 }
 
@@ -105,6 +105,6 @@ run_output_matches_unordered(
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                    'list', '--regex', '.' ],
-        [ "$yatta_id KILL new", "$flyman_id Crash Man (no status)" ]
+        [ "$yatta_id KILL new", "$flyman_id Crash Man -" ]
     );
 }
diff --git a/t/sd-rt/sd-rt-hm-single.t b/t/sd-rt/sd-rt-hm-single.t
index 15efeb3..e57ab50 100644
--- a/t/sd-rt/sd-rt-hm-single.t
+++ b/t/sd-rt/sd-rt-hm-single.t
@@ -90,7 +90,7 @@ as_bob {
     run_output_matches(
         'sd',
         [ 'ticket', 'list', '--regex', '.' ],
-        [ "$yatta_id YATTA (no status)" ]
+        [ "$yatta_id YATTA -" ]
     );
 };
 
@@ -108,7 +108,7 @@ as_bob {
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                             'list', '--regex', '.' ],
-        [ reverse sort "$yatta_id YATTA (no status)", "$flyman_id Fly Man new" ]
+        [ reverse sort "$yatta_id YATTA -", "$flyman_id Fly Man new" ]
     );
 };
 
diff --git a/t/sd-rt/sd-rt-hm.t b/t/sd-rt/sd-rt-hm.t
index cfb3483..257a6ec 100644
--- a/t/sd-rt/sd-rt-hm.t
+++ b/t/sd-rt/sd-rt-hm.t
@@ -114,7 +114,7 @@ as_bob {
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                             'list', '--regex', '.' ],
-        [ reverse sort "$bob_yatta_id YATTA (no status)", "$bob_flyman_id Fly Man new" ]
+        [ reverse sort "$bob_yatta_id YATTA -", "$bob_flyman_id Fly Man new" ]
     );
 
 
@@ -139,7 +139,7 @@ as_alice {
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                             'list', '--regex', '.' ],
-        [ sort "$alice_yatta_id YATTA (no status)", "$alice_flyman_id Fly Man new" ]
+        [ sort "$alice_yatta_id YATTA -", "$alice_flyman_id Fly Man new" ]
     );
 
     ( $ret, $out, $err ) = run_script( 'sd', [ 'push', '--to', $sd_rt_url ] );
diff --git a/t/sd-rt/sd-rt-n-foreign-sync.t b/t/sd-rt/sd-rt-n-foreign-sync.t
index 716295e..70ca54c 100644
--- a/t/sd-rt/sd-rt-n-foreign-sync.t
+++ b/t/sd-rt/sd-rt-n-foreign-sync.t
@@ -137,7 +137,7 @@ as_bob {
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                             'list', '--regex', '.' ],
-        [ reverse sort "$bob_yatta_id YATTA (no status)", "$bob_flyman_id Fly Man new" ]
+        [ reverse sort "$bob_yatta_id YATTA -", "$bob_flyman_id Fly Man new" ]
     );
 
 
@@ -156,7 +156,7 @@ as_alice {
     run_output_matches_unordered(
         'sd',
         [ 'ticket',                             'list', '--regex', '.' ],
-        [ sort "$alice_yatta_id YATTA (no status)", "$alice_flyman_id Fly Man new" ]
+        [ sort "$alice_yatta_id YATTA -", "$alice_flyman_id Fly Man new" ]
     );
 };
 

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



More information about the Bps-public-commit mailing list