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

jesse jesse at bestpractical.com
Sun Jan 25 17:26:37 EST 2009


The branch, master has been updated
       via  5eae4b4023ff8b74369c7967b3789e5db3d86516 (commit)
      from  46314563ac365e29175ef2f418340a10f48eb053 (commit)

Summary of changes:
 t/sd-dispatcher.t |    2 +-
 t/sd-settings.t   |   11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit 5eae4b4023ff8b74369c7967b3789e5db3d86516
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sun Jan 25 17:26:20 2009 -0500

    Fix test files to actually pass tests

diff --git a/t/sd-dispatcher.t b/t/sd-dispatcher.t
index e9979cd..4b721f8 100644
--- a/t/sd-dispatcher.t
+++ b/t/sd-dispatcher.t
@@ -164,4 +164,4 @@ TODO: {
             "original_replica: " . replica_uuid,
         ]
     );
-}
+};
diff --git a/t/sd-settings.t b/t/sd-settings.t
index 30fb75a..1c7cdd1 100644
--- a/t/sd-settings.t
+++ b/t/sd-settings.t
@@ -49,12 +49,11 @@ diag ("interactive template status will be found in $filename");
 App::SD::Test->set_editor("settings-editor.pl --first $filename");
 
 # then edit the settings
-run_output_matches_unordered( 'sd', [ 'settings' ],
+run_output_matches( 'sd', [ 'settings' ],
     [
-        'Changed default_status from ["new"] to ["open"].',
         'Setting with uuid "BFB613BD-9E25-4612-8DE3-21E4572859EA" does not exist.',
-    ], [], "interactive settings set went ok",
-);
+        'Changed default_status from ["new"] to ["open"].',
+    ], [], "interactive settings set went ok",);
 
 # check the tempfile to see if the template presented to the editor was correct
 chomp(my $template_ok = Prophet::Util->slurp($filename));
@@ -74,10 +73,10 @@ run_output_matches(
 (undef, my $second_filename) = tempfile();
 diag ("interactive template status will be found in $second_filename");
 App::SD::Test->set_editor("settings-editor.pl --second $second_filename");
-run_output_matches_unordered( 'sd', [ 'settings' ],
+run_output_matches( 'sd', [ 'settings' ],
     [
-        'Changed default_component from ["core"] to ["ui"].',
         qr/^An error occured setting default_milestone to \["alpha":/,
+        'Changed default_component from ["core"] to ["ui"].',
     ], [], "interactive settings set with JSON error went ok",
 );
 

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



More information about the Bps-public-commit mailing list