Mercurial > projects > orange
diff tests/Serializer.d @ 38:9443bcddc699
Enabled comparison of associative array for D2 in the unit tests.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 03 Aug 2011 22:09:22 +0200 |
parents | c523d436052f |
children |
line wrap: on
line diff
--- a/tests/Serializer.d Wed Aug 03 21:58:21 2011 +0200 +++ b/tests/Serializer.d Wed Aug 03 22:09:22 2011 +0200 @@ -405,7 +405,8 @@ foreach (k, v ; eDeserialized.aa) assert(e.aa[k] == v); - //assert(e.aa == eDeserialized.aa); // cannot compare associative array + version (D_Version2) + assert(e.aa == eDeserialized.aa); }; };