# HG changeset patch # User Jacob Carlborg # Date 1312400756 -7200 # Node ID c523d436052f27390f086ca1aa7711e0244afe2e # Parent 511d1ef4e299c1d02d8a105df3d37341488980ae Fixed an D1 error in the unit test. diff -r 511d1ef4e299 -r c523d436052f tests/Serializer.d --- 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"));