Skip to content

Commit c6ef770

Browse files
committed
linting
1 parent 1573707 commit c6ef770

4 files changed

Lines changed: 231 additions & 302 deletions

File tree

library/SDLConsole.test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,27 +172,27 @@ TEST(SDLConsole, find_wspace_range) {
172172

173173
}
174174

175-
TEST(SDLConsole, find_text_range) {
175+
TEST(SDLConsole, find_range) {
176176
std::u32string tstr;
177177
std::pair<size_t, size_t> ret;
178178
std::pair<size_t, size_t> exp;
179179

180180
tstr = U"foo";
181-
ret = text::find_text_range(tstr, 0);
181+
ret = text::find_range(tstr, 0);
182182
exp.first = 0;
183183
exp.second = 2;
184184
ASSERT_EQ(ret.first, exp.first);
185185
ASSERT_EQ(ret.second, exp.second);
186186

187187
tstr = U"foo bar";
188-
ret = text::find_text_range(tstr, 5);
188+
ret = text::find_range(tstr, 5);
189189
exp.first = 4;
190190
exp.second = 6;
191191
ASSERT_EQ(ret.first, exp.first);
192192
ASSERT_EQ(ret.second, exp.second);
193193

194194
tstr = U"foo bar ";
195-
ret = text::find_text_range(tstr, 5);
195+
ret = text::find_range(tstr, 5);
196196
exp.first = 4;
197197
exp.second = 6;
198198
ASSERT_EQ(ret.first, exp.first);

0 commit comments

Comments
 (0)