[svn:parrot] r41091 - trunk/t/library

dukeleto at svn.parrot.org dukeleto at svn.parrot.org
Mon Sep 7 04:31:22 UTC 2009


Author: dukeleto
Date: Mon Sep  7 04:31:21 2009
New Revision: 41091
URL: https://trac.parrot.org/parrot/changeset/41091

Log:
[t] Add another test for like() for matching partial literal strings

Modified:
   trunk/t/library/test_more.t

Modified: trunk/t/library/test_more.t
==============================================================================
--- trunk/t/library/test_more.t	Mon Sep  7 02:36:08 2009	(r41090)
+++ trunk/t/library/test_more.t	Mon Sep  7 04:31:21 2009	(r41091)
@@ -22,7 +22,7 @@
     exports = split " ", "plan test_out test_diag test_fail test_pass test_test"
     test_namespace.'export_to'(curr_namespace, exports)
 
-    plan( 79 )
+    plan( 80 )
 
     test_skip()
     test_todo()
@@ -310,6 +310,10 @@
     test_pass( 'like() can match literal strings' )
     like( 'foobar', 'foobar', 'like() can match literal strings' )
     test_test( 'like() can match literal strings' )
+
+    test_pass( 'like() can match partial literal strings' )
+    like( 'foobar()', 'foobar', 'like() can match partial literal strings' )
+    test_test( 'like() can match partial literal strings' )
 .end
 
 .sub test_is_deeply


More information about the parrot-commits mailing list