De-tab a couple tests. NFC

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@350330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2019-01-03 17:18:40 +00:00
parent 51895bf735
commit 7de83dce41
3 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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()));
}