Mercurial > projects > orange
changeset 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 | 90f6a44b9475 |
files | tests/Serializer.d |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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"));