refactor serde interfaces and impls
[awesomized/ext-ion] / tests / unserialize / invalid_annotation.phpt
index 8b5b1fecf9fa1b1dfe7c9650c583360b8902c85f..0b0b2340760bd784c1c9044a225a1fb5198479db 100644 (file)
@@ -12,20 +12,20 @@ foreach (["r::r::1", "R::R::1", "p::p::1", "p::foo::p::1", "c::c::1", "c::1", "E
 }
 ?>
 DONE
---EXPECT--
+--EXPECTF--
 TEST
 caught ion\Exception: Invalid multiple back reference annotations
 caught ion\Exception: Invalid multiple reference annotations
 int(1)
 caught ion\Exception: Invalid multiple object property annotations
 caught ion\Exception: Invalid object type annotation: c::1
-caught ion\Exception: IERR_INVALID_ARG: ion_reader_get_an_annotation(ser->reader, ++i, &class_name)
+caught ion\Exception: IERR_INVALID_ARG: %s
 caught ion\Exception: Invalid multiple object type annotations: E::E
-caught ion\Exception: IERR_INVALID_ARG: ion_reader_get_an_annotation(ser->reader, ++i, &class_name)
-caught ion\Exception: IERR_INVALID_ARG: ion_reader_get_an_annotation(ser->reader, ++i, &class_name)
+caught ion\Exception: IERR_INVALID_ARG: %s
+caught ion\Exception: IERR_INVALID_ARG: %s
 caught ion\Exception: Class S does not implement Serializable
 caught ion\Exception: Invalid multiple object type annotations: O::O
-caught ion\Exception: IERR_INVALID_ARG: ion_reader_get_an_annotation(ser->reader, ++i, &class_name)
+caught ion\Exception: IERR_INVALID_ARG: %s
 caught ion\Exception: Invalid multiple object type annotations: C::C
-caught ion\Exception: IERR_INVALID_ARG: ion_reader_get_an_annotation(ser->reader, ++i, &class_name)
+caught ion\Exception: IERR_INVALID_ARG: %s
 DONE