Skip to content

Commit 2b5286e

Browse files
mordantememfrob
authored andcommitted
[NFC][libc++] Use TEST_HAS_NO_EXCEPTIONS in tests.
1 parent bba928d commit 2b5286e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ int main(int, char**)
3737
assert(v.size() == 101);
3838
assert(is_contiguous_container_asan_correct(v));
3939
}
40-
#ifndef _LIBCPP_NO_EXCEPTIONS
40+
#ifndef TEST_HAS_NO_EXCEPTIONS
4141
{
4242
std::vector<int, limited_allocator<int, 400> > v(100);
4343
v.push_back(1);

0 commit comments

Comments
 (0)