diff options
author | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-28 14:57:20 +0200 |
---|---|---|
committer | Tom Hubrecht <github@mail.hubrecht.ovh> | 2024-05-29 11:01:34 +0200 |
commit | b91055112035c256fffd44d77f746b977cfdf3ca (patch) | |
tree | a13d38c19913927a80cc8624ff9d2e68ee66beaf /tests | |
parent | 5b5a75979a0b954a5deefe79c8040bac1ad9c76a (diff) |
util.{hh,cc}: Split out strings.{hh,cc}
Change-Id: I4f642d1046d56b5db26f1b0296ee16a0e02d444a
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/repl_characterization/repl_characterization.cc | 1 | ||||
-rw-r--r-- | tests/functional/repl_characterization/test-session.cc | 2 | ||||
-rw-r--r-- | tests/unit/libstore/machines.cc | 1 | ||||
-rw-r--r-- | tests/unit/libutil-support/tests/cli-literate-parser.cc | 1 | ||||
-rw-r--r-- | tests/unit/libutil/tests.cc | 3 |
5 files changed, 6 insertions, 2 deletions
diff --git a/tests/functional/repl_characterization/repl_characterization.cc b/tests/functional/repl_characterization/repl_characterization.cc index 0d3e5352d..4cc1e7e37 100644 --- a/tests/functional/repl_characterization/repl_characterization.cc +++ b/tests/functional/repl_characterization/repl_characterization.cc @@ -12,6 +12,7 @@ #include "tests/cli-literate-parser.hh" #include "tests/terminal-code-eater.hh" #include "util.hh" +#include "strings.hh" using namespace std::string_literals; diff --git a/tests/functional/repl_characterization/test-session.cc b/tests/functional/repl_characterization/test-session.cc index ab0710b24..be3d407f3 100644 --- a/tests/functional/repl_characterization/test-session.cc +++ b/tests/functional/repl_characterization/test-session.cc @@ -3,9 +3,9 @@ #include <unistd.h> #include "test-session.hh" -#include "util.hh" #include "escape-char.hh" #include "processes.hh" +#include "strings.hh" namespace nix { diff --git a/tests/unit/libstore/machines.cc b/tests/unit/libstore/machines.cc index dc192e5be..ba27d85b7 100644 --- a/tests/unit/libstore/machines.cc +++ b/tests/unit/libstore/machines.cc @@ -1,6 +1,7 @@ #include "file-system.hh" #include "machines.hh" #include "globals.hh" +#include "strings.hh" #include "tests/test-data.hh" #include <gmock/gmock-matchers.h> diff --git a/tests/unit/libutil-support/tests/cli-literate-parser.cc b/tests/unit/libutil-support/tests/cli-literate-parser.cc index 822f5e276..69bf9fb46 100644 --- a/tests/unit/libutil-support/tests/cli-literate-parser.cc +++ b/tests/unit/libutil-support/tests/cli-literate-parser.cc @@ -19,6 +19,7 @@ #include "shlex.hh" #include "types.hh" #include "util.hh" +#include "strings.hh" static constexpr const bool DEBUG_PARSER = false; diff --git a/tests/unit/libutil/tests.cc b/tests/unit/libutil/tests.cc index a42afd997..324ebd335 100644 --- a/tests/unit/libutil/tests.cc +++ b/tests/unit/libutil/tests.cc @@ -1,8 +1,9 @@ #include "file-system.hh" -#include "util.hh" #include "processes.hh" +#include "strings.hh" #include "types.hh" #include "terminal.hh" +#include "util.hh" #include <gtest/gtest.h> |