diff options
Diffstat (limited to 'dviware/dvisvgm/tests/UtilityTest.cpp')
-rw-r--r-- | dviware/dvisvgm/tests/UtilityTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dviware/dvisvgm/tests/UtilityTest.cpp b/dviware/dvisvgm/tests/UtilityTest.cpp index 2e8ae696b7..b0f0320f69 100644 --- a/dviware/dvisvgm/tests/UtilityTest.cpp +++ b/dviware/dvisvgm/tests/UtilityTest.cpp @@ -2,7 +2,7 @@ ** UtilityTest.cpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2021 Martin Gieseking <martin.gieseking@uos.de> ** +** Copyright (C) 2005-2022 Martin Gieseking <martin.gieseking@uos.de> ** ** ** ** This program is free software; you can redistribute it and/or ** ** modify it under the terms of the GNU General Public License as ** @@ -91,14 +91,14 @@ TEST(UtilityTest, split) { parts = split("1,2 , 3, 4 ,,5", ","); ASSERT_EQ(parts.size(), 6u); size_t count=0; - for (const string &part : {"1", "2 ", " 3", " 4 ", "", "5"}) { + for (string part : {"1", "2 ", " 3", " 4 ", "", "5"}) { EXPECT_EQ(parts[count++], part); } parts = split("1 sep2sep3, sep", "sep"); ASSERT_EQ(parts.size(), 4u); count=0; - for (const string &part : {"1 ", "2", "3, ", ""}) { + for (string part : {"1 ", "2", "3, ", ""}) { EXPECT_EQ(parts[count++], part); } } |