[libc++][NFC] Fix copy-paste errors in tests
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 18 Aug 2021 12:54:18 +0000 (08:54 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 18 Aug 2021 12:54:18 +0000 (08:54 -0400)
commit6f6175d1c6d6925d5e0a03cfb07232cf9e530512
tree51923cf1726ceabcd916677238e03fa59a33762f
parented7c81d1726c7ecd03d1bc13eeb8d23fdffa5751
[libc++][NFC] Fix copy-paste errors in tests

The test precision_type.pass.cpp was a duplicate of precision.pass.cpp,
so it is removed. atomic_flag_test.pass.cpp was a duplicate of
atomic_flag_test_and_set.pass.cpp, so instead I wrote a proper
test for it. Those duplicate tests were detected with

     find libcxx ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD
libcxx/test/std/atomics/atomics.flag/atomic_flag_test.pass.cpp
libcxx/test/std/atomics/atomics.flag/atomic_flag_test_explicit.pass.cpp
libcxx/test/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp
libcxx/test/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp [deleted file]