[gxml/gsoc2013] DocumentTest.vala: invalid characters no longer cause create_element to return null, so don't test f



commit 481bcef345e8df6870fc76d96e47f6d7cd9a4a08
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sun Jul 28 01:30:12 2013 -0400

    DocumentTest.vala: invalid characters no longer cause create_element to return null, so don't test for it

 test/DocumentTest.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/DocumentTest.vala b/test/DocumentTest.vala
index 4d84ac5..c19f9e4 100644
--- a/test/DocumentTest.vala
+++ b/test/DocumentTest.vala
@@ -128,7 +128,7 @@ class DocumentTest : GXmlTest {
 
                                elem = doc.create_element ("ØÏØÏدÏØÏ  ²øœ³¤ïØ£");
                                test_error (DomException.INVALID_CHARACTER);
-                               assert (elem == null);
+                               // assert (elem == null); // TODO: decide what we want returned on 
DomExceptions
                        });
                Test.add_func ("/gxml/document/create_document_fragment", () => {
                                try {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]