Changed JsonArray tests to show the issue

This commit is contained in:
Benoit Blanchon
2014-08-04 09:22:45 +02:00
parent df52dceaa1
commit bc86ae800a
4 changed files with 25 additions and 19 deletions

View File

@ -71,7 +71,7 @@ namespace JsonGeneratorTests
void setValueAndCheckCast(JsonArray<N>& expected)
{
value = expected;
Printable& actual = value;
const Printable& actual = value;
Assert::AreEqual((void*) &expected, (void*) &actual);
}
};