[libcxx] r318990 - Fix copy/paste bug in test where we were putting a '3' into a vector<bool>. NFC.
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 25 16:39:59 PST 2017
Author: marshall
Date: Sat Nov 25 16:39:59 2017
New Revision: 318990
URL: http://llvm.org/viewvc/llvm-project?rev=318990&view=rev
Log:
Fix copy/paste bug in test where we were putting a '3' into a vector<bool>. NFC.
Modified:
libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp
Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp?rev=318990&r1=318989&r2=318990&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/size.pass.cpp Sat Nov 25 16:39:59 2017
@@ -30,7 +30,7 @@ int main()
assert(c.size() == 1);
c.push_back(true);
assert(c.size() == 2);
- c.push_back(C::value_type(3));
+ c.push_back(false);
assert(c.size() == 3);
c.erase(c.begin());
assert(c.size() == 2);
@@ -49,7 +49,7 @@ int main()
assert(c.size() == 1);
c.push_back(true);
assert(c.size() == 2);
- c.push_back(C::value_type(3));
+ c.push_back(false);
assert(c.size() == 3);
c.erase(c.begin());
assert(c.size() == 2);
More information about the cfe-commits
mailing list