From: Arthur O'Dwyer Date: Sun, 2 Jan 2022 17:49:55 +0000 (-0500) Subject: [libc++] [test] Remove an erroneously copy-paste in the hypot() tests. NFC. X-Git-Tag: upstream/15.0.7~21879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eda5bbfb9db4d0dc3861333f7b4adf135fe20af8;p=platform%2Fupstream%2Fllvm.git [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. --- 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), "");