Skip to content

Commit e3f4cfc

Browse files
author
Sriya Pratipati
committed
Modified CompareToEmpty test
1 parent 4441fce commit e3f4cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/src/wchar/wmemcmp_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ TEST(LlvmLibcWMemcmpTest, CompareToEmpty) {
4343
// lhs is nonempty, should result in a value greater than 0.
4444
const wchar_t *lhs = L"az";
4545
const wchar_t *rhs = L"";
46-
EXPECT_GT(LIBC_NAMESPACE::wmemcmp(lhs, rhs, 2), 0);
46+
EXPECT_GT(LIBC_NAMESPACE::wmemcmp(lhs, rhs, 1), 0);
4747
}
4848

4949
TEST(LlvmLibcWMemcmpTest, LhsAfterRhsLexicallyLong) {

0 commit comments

Comments
 (0)