diff --git a/libcxx/test/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp b/libcxx/test/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp index 51802e048f88..cc944fae8552 100644 --- a/libcxx/test/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp +++ b/libcxx/test/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp @@ -22,7 +22,7 @@ int main() { std::vector v(100); bool a[] = {1, 0, 0, 1, 1}; - const bool N = sizeof(a)/sizeof(a[0]); + const unsigned N = sizeof(a)/sizeof(a[0]); std::vector::iterator i = v.insert(v.cbegin() + 10, input_iterator(a), input_iterator(a+N)); assert(v.size() == 100 + N); @@ -38,7 +38,7 @@ int main() { std::vector v(100); bool a[] = {1, 0, 0, 1, 1}; - const bool N = sizeof(a)/sizeof(a[0]); + const unsigned N = sizeof(a)/sizeof(a[0]); std::vector::iterator i = v.insert(v.cbegin() + 10, forward_iterator(a), forward_iterator(a+N)); assert(v.size() == 100 + N); diff --git a/libcxx/test/containers/unord/unord.set/bucket_size.pass.cpp b/libcxx/test/containers/unord/unord.set/bucket_size.pass.cpp index 52ee8a6e5223..db3568833e15 100644 --- a/libcxx/test/containers/unord/unord.set/bucket_size.pass.cpp +++ b/libcxx/test/containers/unord/unord.set/bucket_size.pass.cpp @@ -39,7 +39,5 @@ int main() assert(c.bucket_size(2) == 1); assert(c.bucket_size(3) == 1); assert(c.bucket_size(4) == 1); - assert(c.bucket_size(5) == 0); - assert(c.bucket_size(6) == 0); } }