summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-11-26 00:39:59 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-11-26 00:39:59 +0000
commite29f3f1fa5112b2efceee53176854e386c572128 (patch)
tree25768f3c954bc41fc6c94e74af6d3981cc573cf9 /test
parent4746c1ee001b55fe8e9c15afe7985cf991f66775 (diff)
Fix copy/paste bug in test where we were putting a '3' into a vector<bool>. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/std/containers/sequences/vector.bool/size.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/containers/sequences/vector.bool/size.pass.cpp b/test/std/containers/sequences/vector.bool/size.pass.cpp
index b7cd7ca13..43330c0a5 100644
--- a/test/std/containers/sequences/vector.bool/size.pass.cpp
+++ b/test/std/containers/sequences/vector.bool/size.pass.cpp
@@ -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);