Skip to content

Commit 57b4974

Browse files
committed
rename constructor.test.cpp as constructor_fs.test.cpp
1 parent b9f2c74 commit 57b4974

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/beman/inplace_vector/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ endfunction()
3636
add_gtest(container_requirements)
3737
add_gtest(triviality)
3838
add_gtest(compare)
39-
add_gtest(constructors)
4039
add_gtest(size_n_data)
4140
add_gtest(erasure)
4241
add_gtest(modifiers)
4342

4443
if(BEMAN_INPLACE_VECTOR_FREESTANDING_DELETED)
4544
add_gtest(freestanding)
45+
else()
46+
add_gtest(constructors_fs)
4647
endif()
4748

4849
# only add noexception tests if NO_EXCEPTIONS option is set and compiler supports -fno-exceptions

tests/beman/inplace_vector/constructors.test.cpp renamed to tests/beman/inplace_vector/constructors_fs.test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ namespace {
1010
template <typename Param> class Constructors : public IVBasicTest<Param> {};
1111
TYPED_TEST_SUITE(Constructors, IVAllTypes);
1212

13-
#if !BEMAN_INPLACE_VECTOR_FREESTANDING_DELETED()
1413
TYPED_TEST(Constructors, SizedDefault) {
1514
// constexpr explicit inplace_vector(size_type n);
1615
// Preconditions: T is Cpp17DefaultInsertable into inplace_vector.
@@ -134,6 +133,5 @@ TYPED_TEST(Constructors, CopyRanges) {
134133
EXPECT_EQ(device, IV(reference.begin(), reference.begin() + mid));
135134
}
136135
}
137-
#endif
138136

139137
}; // namespace

0 commit comments

Comments
 (0)