ref: ec942e6e82ae3feedb346c2ef0b54742f367a0ea
parent: bd756699b9785eeca5e6ed9d4a0985e41f88cbea
author: James Zern <[email protected]>
date: Tue Jul 1 16:18:00 EDT 2014
invalid_file_test: output error detail on mismatch Change-Id: I6abf139961fbb6a46db740dc023e26ac1e8e9305
--- a/test/invalid_file_test.cc
+++ b/test/invalid_file_test.cc
@@ -55,7 +55,8 @@
// Check results match.
EXPECT_EQ(expected_res_dec, res_dec)
- << "Results don't match: frame number = " << video.frame_number();
+ << "Results don't match: frame number = " << video.frame_number()
+ << ". (" << decoder->DecodeError() << ")";
return !HasFailure();
}