From e0405ed9ffebd4fefdb316405fc5bfb5dc8b5905 Mon Sep 17 00:00:00 2001 From: Tue Ly Date: Fri, 8 Mar 2024 00:51:53 +0000 Subject: [PATCH] [libc][NFC] Fix a typo in test/src/stdfix/RoundTest.h. --- libc/test/src/stdfix/RoundTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/test/src/stdfix/RoundTest.h b/libc/test/src/stdfix/RoundTest.h index 06343addbef20..d3ae04db9749b 100644 --- a/libc/test/src/stdfix/RoundTest.h +++ b/libc/test/src/stdfix/RoundTest.h @@ -28,7 +28,7 @@ template class RoundTest : public LIBC_NAMESPACE::testing::Test { void testSpecialNumbers(RoundFunc func) { EXPECT_EQ(zero, func(zero, FXRep::FRACTION_LEN - 5)); - EXPECT_EQ(max, func(min, 0)); + EXPECT_EQ(min, func(min, 0)); EXPECT_EQ(max, func(max, FXRep::FRACTION_LEN)); EXPECT_EQ(one, func(half, 0));