aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests/tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/tests/tests.cc')
-rw-r--r--src/libutil/tests/tests.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/tests/tests.cc b/src/libutil/tests/tests.cc
index fb593b5e6..0fb4411e8 100644
--- a/src/libutil/tests/tests.cc
+++ b/src/libutil/tests/tests.cc
@@ -481,8 +481,7 @@ namespace nix {
* --------------------------------------------------------------------------*/
TEST(tokenizeString, empty) {
- auto s = "";
- Strings expected = { };
+ Strings expected = { };
ASSERT_EQ(tokenizeString<Strings>(""), expected);
}