[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6036] trunk/t/10-form.t



Revision: 6036
          http://sourceforge.net/p/ledger-smb/code/6036
Author:   einhverfr
Date:     2013-09-16 01:27:18 +0000 (Mon, 16 Sep 2013)
Log Message:
-----------
Form tests adjusted to meet current API

Modified Paths:
--------------
    trunk/t/10-form.t

Modified: trunk/t/10-form.t
===================================================================
--- trunk/t/10-form.t	2013-09-16 01:17:37 UTC (rev 6035)
+++ trunk/t/10-form.t	2013-09-16 01:27:18 UTC (rev 6036)
@@ -453,12 +453,12 @@
 $form = new Form;
 ok(!defined $form->{callback}, 'redirect: No callback set');
 @r = trap{$form->redirect};
-is($trap->stdout, "redirected\n", 'redirect: No message or callback redirect');
+is($trap->stdout, "", 'redirect: No message or callback redirect');
 @r = trap{$form->redirect('hello world')};
 is($trap->stdout, "hello world\n", 
 	'redirect: message, no callback redirect');
 $form->{callback} = 1;
 @r = trap{$form->redirect};
-is($trap->stdout, "redirected\n", 'redirect: callback, no message redirect');
+is($trap->stdout, "", 'redirect: callback, no message redirect');
 @r = trap{$form->redirect("hello world\n")};
-is($trap->stdout, "redirected\n", 'redirect: callback and message redirect');
+is($trap->stdout, "", 'redirect: callback and message redirect');

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits