From eda5bbfb9db4d0dc3861333f7b4adf135fe20af8 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 2 Jan 2022 12:49:55 -0500 Subject: [PATCH] [libc++] [test] Remove an erroneously copy-paste in the hypot() tests. NFC. Line 1140 is a duplicate of line 1119; it tests the two-argument version of std::hypot, whereas all the lines in this section are supposed to be testing the C++17 three-argument version. Remove the erroneous duplicated line. Split out of D116295. --- libcxx/test/std/numerics/c.math/cmath.pass.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libcxx/test/std/numerics/c.math/cmath.pass.cpp b/libcxx/test/std/numerics/c.math/cmath.pass.cpp index 160959b..3d739f5 100644 --- a/libcxx/test/std/numerics/c.math/cmath.pass.cpp +++ b/libcxx/test/std/numerics/c.math/cmath.pass.cpp @@ -1137,7 +1137,6 @@ void test_hypot() static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); - static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); -- 2.7.4