[Bps-public-commit] r16152 - in Prophet/branches/dispatcher: .

sartak at bestpractical.com sartak at bestpractical.com
Mon Sep 29 14:56:46 EDT 2008


Author: sartak
Date: Mon Sep 29 14:56:45 2008
New Revision: 16152

Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/t/edit.t

Log:
 r73254 at onn:  sartak | 2008-09-29 14:56:37 -0400
 set_props correctly doesn't remove properties, so this test doesn't have a leg to stand on


Modified: Prophet/branches/dispatcher/t/edit.t
==============================================================================
--- Prophet/branches/dispatcher/t/edit.t	(original)
+++ Prophet/branches/dispatcher/t/edit.t	Mon Sep 29 14:56:45 2008
@@ -82,6 +82,7 @@
     return << "TEXT";
 name: Clash Man
 weapon: Clash Bomb
+weakness: Air Shooter
 TEXT
 });
 
@@ -99,7 +100,7 @@
 is($crash_man2->uuid, $uuid, "correct uuid");
 is($crash_man2->prop('name'), 'Clash Man', 'corrected name');
 is($crash_man2->prop('weapon'), 'Clash Bomb', 'corrected weapon');
-is($crash_man2->prop('weakness'), undef, 'weakness deleted');
+is($crash_man2->prop('weakness'), 'Air Shooter', 'weakness');
 cleanup();
 
 # ------------



More information about the Bps-public-commit mailing list