Fix copy/paste bug in test where we were putting a '3' into a vector<bool>. NFC.
authorMarshall Clow <mclow.lists@gmail.com>
Sun, 26 Nov 2017 00:39:59 +0000 (00:39 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Sun, 26 Nov 2017 00:39:59 +0000 (00:39 +0000)
llvm-svn: 318990

libcxx/test/std/containers/sequences/vector.bool/size.pass.cpp

index b7cd7ca..43330c0 100644 (file)
@@ -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);