Index: test/cctest/test-version.cc |
diff --git a/test/cctest/test-version.cc b/test/cctest/test-version.cc |
index 7de4467d6b3f90b31a0bb35d8c7a268add935dc6..231451d11ae9daa5551306c2c6d7d1859e40f107 100644 |
--- a/test/cctest/test-version.cc |
+++ b/test/cctest/test-version.cc |
@@ -59,17 +59,17 @@ static void CheckVersion(int major, int minor, int build, |
// Test version without specific SONAME. |
SetVersion(major, minor, build, patch, candidate, ""); |
Version::GetString(version_str); |
- CHECK_EQ(0, strcmp(expected_version_string, version_str.start())); |
+ CHECK_EQ(expected_version_string, version_str.start()); |
Version::GetSONAME(soname_str); |
- CHECK_EQ(0, strcmp(expected_generic_soname, soname_str.start())); |
+ CHECK_EQ(expected_generic_soname, soname_str.start()); |
// Test version with specific SONAME. |
const char* soname = "libv8.so.1"; |
SetVersion(major, minor, build, patch, candidate, soname); |
Version::GetString(version_str); |
- CHECK_EQ(0, strcmp(expected_version_string, version_str.start())); |
+ CHECK_EQ(expected_version_string, version_str.start()); |
Version::GetSONAME(soname_str); |
- CHECK_EQ(0, strcmp(soname, soname_str.start())); |
+ CHECK_EQ(soname, soname_str.start()); |
} |