Skip to content

Commit c05d7c2

Browse files
committed
using length
1 parent 5af155a commit c05d7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xtd.tunit/src/xtd/tunit/ostream_unit_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int ostream_unit_test::list_tests(const array<string>& tests) {
2727
std::map<std::string, list<string>> lists;
2828
for (auto name : tests) {
2929
auto key_value = string(name).split('.');
30-
if (key_value.size() == 2) {
30+
if (key_value.length() == 2) {
3131
if (lists.find(key_value[0]) == lists.end()) lists.insert({key_value[0], {}});
3232
lists.at(key_value[0]).add(key_value[1]);
3333
}

0 commit comments

Comments
 (0)