Skip to content

Commit 8b5c5b9

Browse files
committed
#163-Test CppStringT::rindex_n() with char and wchar_t
Completed. Validated.
1 parent beafb01 commit 8b5c5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@ namespace cppstringstests
21662166
CppString s(ch);
21672167
Assert::AreEqual(test_str.substr(0, 20).MyBaseClass::rfind(s), test_str.rindex_n(s, 20));
21682168
Assert::AreEqual(test_str.substr(3, 5).MyBaseClass::rfind(s), test_str.rindex_n(s, 3, 5) - 3);
2169-
s = 'z';
2169+
s = 'z';
21702170
try {
21712171
const string_type::size_type pos = test_str.rindex_n(s, 20);
21722172
Assert::IsTrue(pos != string_type::npos);

0 commit comments

Comments
 (0)