Use StrEq matcher when comparing two strings.
This uses StrEq() matcher to compare the content of the strings instead
of the pointers that point to the strings. Without this fix, the test
failed with AddressSanitizer.
BUG=chromium:264234
TEST=FEATURES="nostrip test" emerge-lumpy mist passes.
Change-Id: I15a9f7dbcb9708687b2aa000c91e970504ced0be
Reviewed-on: https://gerrit.chromium.org/gerrit/63277
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
1 file changed