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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Aug 2 12:28:41 UTC 2010


Author: NotFound
Date: Mon Aug  2 12:28:41 2010
New Revision: 48251
URL: https://trac.parrot.org/parrot/changeset/48251

Log:
one more OpLib test

Modified:
   trunk/t/pmc/oplib.t

Modified: trunk/t/pmc/oplib.t
==============================================================================
--- trunk/t/pmc/oplib.t	Mon Aug  2 12:20:09 2010	(r48250)
+++ trunk/t/pmc/oplib.t	Mon Aug  2 12:28:41 2010	(r48251)
@@ -16,7 +16,7 @@
 
 .sub main :main
     .include 'test_more.pir'
-    plan(10)
+    plan(11)
     new_oplib()
     check_elements()
     getint_end()
@@ -89,6 +89,10 @@
 
     $I0 = issame op, op2
     ok($I0, "got same result from both ways")
+
+    $I1 = op
+    $I0 = oplib['end']
+    is($I0, $I1, 'opcode number from Opcode and from OpLib is the same')
 .end
 
 .sub family_end


More information about the parrot-commits mailing list