summary refs log tree commit diff stats
path: root/testing/test_ops_abdl.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_ops_abdl.py')
-rw-r--r--testing/test_ops_abdl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_ops_abdl.py b/testing/test_ops_abdl.py
index fe50369..0695e3f 100644
--- a/testing/test_ops_abdl.py
+++ b/testing/test_ops_abdl.py
@@ -88,7 +88,7 @@ def test_type_pattern():
     oph = OpHelper(abdl.compile("->X:?$a->Y", defs={'a': (dict, list, set)}))
     assert oph.pat._defs['a'] == (dict, list, set)
     with oph as ops:
-        expect_types(ops, abdl._Arrow, abdl._Ident, abdl._Ty)
+        expect_types(ops, abdl._Arrow, abdl._Ident, abdl._ApplyPredicate)
         assert ops[1].key == 'X'
         assert ops[2].key == 'a'
         assert ops[2].skippable == True
@@ -101,7 +101,7 @@ def test_multi_type_pattern():
     assert oph.pat._defs['b'] == (dict, set)
     assert oph.pat._defs['c'] == dict
     with oph as ops:
-        expect_types(ops, abdl._Arrow, abdl._Ident, abdl._Ty, abdl._Ty, abdl._Ty)
+        expect_types(ops, abdl._Arrow, abdl._Ident, abdl._ApplyPredicate, abdl._ApplyPredicate, abdl._ApplyPredicate)
         assert ops[1].key == 'X'
         assert ops[2].key == 'a'
         assert ops[2].skippable == False
@@ -119,7 +119,7 @@ def test_key_subtree_pattern():
         expect_types(ops, abdl._Arrow, abdl._KeySubtree)
         oph2 = OpHelper(None, ops=ops[1].key)
         with oph2 as ops2:
-            expect_types(ops2, abdl._Ty, abdl._Arrow, abdl._Ident)
+            expect_types(ops2, abdl._ApplyPredicate, abdl._Arrow, abdl._Ident)
             assert ops2[0].key == 'set'
             assert ops2[0].skippable == True
             assert ops2[2].key == 'A'