[gxml] * fix a test
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] * fix a test
- Date: Mon, 9 Jul 2012 20:34:16 +0000 (UTC)
commit e9c44fac7d235abef54bef6c8203590dfe72cd19
Author: Richard Schwarting <aquarichy gmail com>
Date: Mon Jul 9 16:34:06 2012 -0400
* fix a test
test/XmlSerializableTest.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/XmlSerializableTest.vala b/test/XmlSerializableTest.vala
index b0fe20c..fe19f86 100644
--- a/test/XmlSerializableTest.vala
+++ b/test/XmlSerializableTest.vala
@@ -455,7 +455,7 @@ class XmlSerializableTest : GXmlTest {
doc = new Document.from_string ("<Object otype='Fruit'><Property pname='age' ptype='badtype'>blue</Property></Object>");
fruit = (Fruit)Serialization.deserialize_object (doc.document_element);
GLib.Test.fail ();
- } catch (GXmlDom.SerializationError.UNKNOWN_TYPE e) {
+ } catch (GXmlDom.SerializationError.UNSUPPORTED_TYPE e) {
// Pass
} catch (GLib.Error e) {
GLib.message ("%s", e.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]