Mercurial > projects > orange
diff tests/Serializer.d @ 36:c523d436052f experimental
Fixed an D1 error in the unit test.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 03 Aug 2011 21:45:56 +0200 |
parents | 511d1ef4e299 |
children | 9443bcddc699 |
line wrap: on
line diff
--- a/tests/Serializer.d Wed Aug 03 21:44:11 2011 +0200 +++ b/tests/Serializer.d Wed Aug 03 21:45:56 2011 +0200 @@ -319,8 +319,8 @@ assert(archive.data().containsDefaultXmlContent()); assert(archive.data().containsXmlTag("object", `runtimeType="tests.Serializer.C" type="C" key="0" id="0"`)); - version (Tango) auto type = "char"; - else auto type = "immutable(char)"; + version (Tango) string type = "char"; + else string type = "immutable(char)"; assert(archive.data().containsXmlTag("string", `type="` ~ type ~ `" length="3" key="str" id="1"`, "foo"));