[svn:parrot] r46466 - trunk/t/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Mon May 10 10:00:42 UTC 2010


Author: bacek
Date: Mon May 10 10:00:41 2010
New Revision: 46466
URL: https://trac.parrot.org/parrot/changeset/46466

Log:
Use test_more.pir instead of hand-crafted imports from Test::More.

Modified:
   trunk/t/pmc/class.t

Modified: trunk/t/pmc/class.t
==============================================================================
--- trunk/t/pmc/class.t	Mon May 10 09:13:22 2010	(r46465)
+++ trunk/t/pmc/class.t	Mon May 10 10:00:41 2010	(r46466)
@@ -17,17 +17,10 @@
 =cut
 
 
-.const int TESTS = 73
-
-
 .sub 'main' :main
-     load_bytecode 'Test/More.pbc'
-     .local pmc exporter, test_ns
-     test_ns = get_namespace [ 'Test'; 'More' ]
-     exporter = new ['Exporter']
-     exporter.'import'( test_ns :named('source'), 'plan ok is isa_ok todo' :named('globals') )
+    .include 'test_more.pir'
 
-     plan(TESTS)
+     plan(73)
      'new op'()
      'class flag'()
      'name'()


More information about the parrot-commits mailing list