Skip to content

Commit 60f5163

Browse files
committed
#184-Test method CppStringT::contains()
Completed. Validated.
1 parent 873d6d1 commit 60f5163

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp-strings-tests/cpp-strings-tests.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,6 @@ namespace cppstringstests
738738
Assert::IsFalse(wtext.contains(L"Abcd. Efgh ij!!"cs));
739739
Assert::IsTrue(wtext.contains(L""cs));
740740

741-
742741
for (std::size_t index = 0; index < text.size(); ++index) {
743742
Assert::IsTrue(text.contains(text.substr(index).c_str()));
744743
for (std::size_t count = 0; count < text.size() - index; ++count)
@@ -761,7 +760,6 @@ namespace cppstringstests
761760
Assert::IsTrue(wtext.contains(L""));
762761
Assert::IsTrue(wtext.contains(nullptr));
763762

764-
765763
for (auto const ch : text)
766764
Assert::IsTrue(text.contains(ch));
767765
Assert::IsFalse(text.contains('z'));

0 commit comments

Comments
 (0)