diff options
author | etienneb <etienneb@chromium.org> | 2016-04-26 08:13:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-26 08:13:45 -0700 |
commit | 7712c26b05c85399afbf8cb3d363836e678ad443 (patch) | |
tree | bf5d419c19ae802eec16aea3fa791640872ed9ed /AUTHORS | |
parent | 3081cc07898dd19a0a00d406ac3555c111940dce (diff) | |
download | pdfium-7712c26b05c85399afbf8cb3d363836e678ad443.tar.xz |
Fix unittest with embedded NUL character.
There is an embedded NUL character (previously line 40).
The test was working because the beginning ot the string is identical.
But, the rest of the string wasn't compare at all.
TESTED: manually
etienneb@burger:~/src/pdfium/pdfium$ out/Debug/pdfium_embeddertests --gtest_filter=*.EmptyCreation
Note: Google Test filter = *.EmptyCreation
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FPDFEditEmbeddertest
[ RUN ] FPDFEditEmbeddertest.EmptyCreation
[ OK ] FPDFEditEmbeddertest.EmptyCreation (13 ms)
[----------] 1 test from FPDFEditEmbeddertest (13 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (13 ms total)
[ PASSED ] 1 test.
R=dsinclair
BUG=589955
Review URL: https://codereview.chromium.org/1916083002
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions