diff options
author | Mark de Wever <koraq@xs4all.nl> | 2022-03-12 14:11:00 +0300 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2022-03-12 14:22:25 +0300 |
commit | ec1a7647ee67cd7d865f3621fe66d82bda7ccc15 (patch) | |
tree | b9b5e76fbf2a7d85315e8951ab2b32be5c02fc98 /libcxx | |
parent | 5f016f5b7a775fbafe9b594958d7e4afb126e27a (diff) |
[libc++][NFC] Use TEST_HAS_NO_EXCEPTIONS.
The test should use the already available test macro.
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/std/utilities/format/format.functions/format_tests.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/format/format.functions/format_tests.h b/libcxx/test/std/utilities/format/format.functions/format_tests.h index df9f4f6b454c..b29f6cb73654 100644 --- a/libcxx/test/std/utilities/format/format.functions/format_tests.h +++ b/libcxx/test/std/utilities/format/format.functions/format_tests.h @@ -122,7 +122,7 @@ struct std::formatter<status, CharT> { private: void throw_format_error(const char* s) { -#ifndef _LIBCPP_NO_EXCEPTIONS +#ifndef TEST_HAS_NO_EXCEPTIONS throw std::format_error(s); #else (void)s; |