diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-21 03:01:16 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-21 03:01:16 +0000 |
commit | 5d5f239204f5c0d1f7573c9ebc64b5ad1ae75b49 (patch) | |
tree | dd2a2d9a64fd0be0785bc558a4872a3c8185af23 /dviware/dvisvgm/tests/UtilityTest.cpp | |
parent | 217d27e597baa589f8e115e1b44eef51c7bb5dd0 (diff) |
CTAN sync 202201210301
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); } } |