Skip to content
Snippets Groups Projects
Commit 71c1680d authored by Marshall Clow's avatar Marshall Clow
Browse files

De-tab a couple tests. NFC

llvm-svn: 350330
parent c1d5999d
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,9 @@
template <class D>
void test()
{
LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::max());
LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::max());
#if TEST_STD_VER > 17
ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::max());
ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::max());
#endif
{
typedef typename D::rep Rep;
......
......@@ -22,9 +22,9 @@
template <class D>
void test()
{
LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::zero());
LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::zero());
#if TEST_STD_VER > 17
ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::zero());
ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::zero());
#endif
{
typedef typename D::rep Rep;
......
......@@ -23,9 +23,9 @@ int main()
typedef std::chrono::system_clock Clock;
typedef std::chrono::milliseconds Duration;
typedef std::chrono::time_point<Clock, Duration> TP;
LIBCPP_ASSERT_NOEXCEPT(TP::max());
LIBCPP_ASSERT_NOEXCEPT(TP::max());
#if TEST_STD_VER > 17
ASSERT_NOEXCEPT( TP::max());
ASSERT_NOEXCEPT( TP::max());
#endif
assert(TP::max() == TP(Duration::max()));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment