Skip to content

Commit b276652

Browse files
committed
test: add test case
1 parent 3afedc6 commit b276652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ TEST(INIReader, get_vector_with_default) {
6565
INIReader r{"./fixtures/config.ini"};
6666

6767
const std::vector<int> ans1{1, 2, 3};
68-
const std::vector<std::string> ans2{"1", "2", "3"};
68+
const std::vector<std::string> ans2{"1", "2", "3", "4"};
6969
const std::vector<double> ans3{1.23, 4.56};
7070

7171
const auto& vec1 = r.GetVector<int>("section2", "not_exist", ans1);
7272
const auto& vec2 = r.GetVector<std::string>(
73-
"section2", "not_exist", std::vector<std::string>{"1", "2", "3"});
73+
"section2", "not_exist", std::vector<std::string>{"1", "2", "3", "4"});
7474
const auto& vec3 =
7575
r.GetVector<double>("section2", "doubles", std::vector<double>{0});
7676

0 commit comments

Comments
 (0)