Replace NULL with nullptr or null in webrtc/base/.
BUG=webrtc:7147 Review-Url: https://codereview.webrtc.org/2718663005 Cr-Commit-Position: refs/heads/master@{#16878}
This commit is contained in:
@ -33,13 +33,13 @@ TEST(string_matchTest, Matches) {
|
||||
|
||||
// Tests for ascii_string_compare().
|
||||
|
||||
// Tests NULL input.
|
||||
// Tests null input.
|
||||
TEST(ascii_string_compareTest, NullInput) {
|
||||
// The following results in an access violation in
|
||||
// ascii_string_compare. Is this a bug or by design? stringutils.h
|
||||
// should document the expected behavior in this case.
|
||||
|
||||
// EXPECT_EQ(0, ascii_string_compare(NULL, NULL, 1, identity));
|
||||
// EXPECT_EQ(0, ascii_string_compare(nullptr, nullptr, 1, identity));
|
||||
}
|
||||
|
||||
// Tests comparing two strings of different lengths.
|
||||
|
||||
Reference in New Issue
Block a user