Index: snapshot/win/pe_image_reader_test.cc |
diff --git a/snapshot/win/pe_image_reader_test.cc b/snapshot/win/pe_image_reader_test.cc |
index 4376f2b889f9297527db5ec582dad412084bfcab..d79415dac903a0a5abde1cc66ce7d692baeb3ae5 100644 |
--- a/snapshot/win/pe_image_reader_test.cc |
+++ b/snapshot/win/pe_image_reader_test.cc |
@@ -42,7 +42,7 @@ TEST(PEImageReader, DebugDirectory) { |
DWORD age; |
std::string pdbname; |
EXPECT_TRUE(pe_image_reader.DebugDirectoryInformation(&uuid, &age, &pdbname)); |
- EXPECT_NE(-1, pdbname.find("crashpad_snapshot_test")); |
+ EXPECT_NE(std::string::npos, pdbname.find("crashpad_snapshot_test")); |
const std::string suffix(".pdb"); |
EXPECT_EQ( |
0, |