OSDN Git Service

Fix the stdio.fread_EOF test.
authorElliott Hughes <enh@google.com>
Thu, 22 Jan 2015 23:13:38 +0000 (15:13 -0800)
committerElliott Hughes <enh@google.com>
Thu, 22 Jan 2015 23:28:48 +0000 (15:28 -0800)
commit0ed7e08cda2547fa6b23813035a7b34a8889d163
tree6e1bfc95b4fbe1129232b08bd44f72ab631ae5f9
parentd5d9221b9c96a8213b0a83dde468653d49e76dd8
Fix the stdio.fread_EOF test.

Another sizeof/strlen screwup caused by trying to be too clever. Use
std::string instead.

Also fix all the ASSERT_STREQ calls in this file that had the arguments
the right^Wwrong way round. If I ever see Kent Beck...

Change-Id: I47a1bdfee99cf4e7bed9b398f3158a308fbcf1e8
tests/stdio_test.cpp