diff options
Diffstat (limited to 'libc/test/src/stdlib/atof_test.cpp')
-rw-r--r-- | libc/test/src/stdlib/atof_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/test/src/stdlib/atof_test.cpp b/libc/test/src/stdlib/atof_test.cpp index efa9f6c..ed3d4c2 100644 --- a/libc/test/src/stdlib/atof_test.cpp +++ b/libc/test/src/stdlib/atof_test.cpp @@ -16,21 +16,21 @@ #include <limits.h> #include <stddef.h> -using __llvm_libc::testing::ErrnoSetterMatcher::Succeeds; +using LIBC_NAMESPACE::testing::ErrnoSetterMatcher::Succeeds; // This is just a simple test to make sure that this function works at all. It's // functionally identical to strtod so the bulk of the testing is there. TEST(LlvmLibcAToFTest, SimpleTest) { - __llvm_libc::fputil::FPBits<double> expected_fp = - __llvm_libc::fputil::FPBits<double>(uint64_t(0x405ec00000000000)); + LIBC_NAMESPACE::fputil::FPBits<double> expected_fp = + LIBC_NAMESPACE::fputil::FPBits<double>(uint64_t(0x405ec00000000000)); libc_errno = 0; - EXPECT_THAT(__llvm_libc::atof("123"), + EXPECT_THAT(LIBC_NAMESPACE::atof("123"), Succeeds<double>(static_cast<double>(expected_fp))); } TEST(LlvmLibcAToFTest, FailedParsingTest) { libc_errno = 0; // atof does not flag errors. - EXPECT_THAT(__llvm_libc::atof("???"), Succeeds<double>(0.0)); + EXPECT_THAT(LIBC_NAMESPACE::atof("???"), Succeeds<double>(0.0)); } |