nix-super/tests/unit/libutil
Jörg Thalheim 101915c9b7 enable -Werror=unused-result
Inspired by
010ff57ebb

From the original PR:

> We do not have any of these warnings appearing at the moment, but
> it seems like a good idea to enable [[nodiscard]] checking anyway.
> Once we start introducing more functions with must-use conditions we will
> need such checking, and the rust stdlib has proven them very useful.
2024-07-02 08:46:06 +02:00
..
data/git Support symlinks properly with git-hashing experimental feature 2024-02-28 12:24:45 -05:00
.version Build nix-util-c with meson and unit test 2024-06-25 21:35:23 +02:00
args.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
canon-path.cc Purify CanonPath 2024-02-16 09:47:25 -05:00
chunked-vector.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
closure.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
compression.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
config.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
file-content-address.cc Rename Recursive -> NixArchive 2024-06-24 10:24:06 -04:00
git.cc Use SourcePath in more places 2024-05-06 19:05:42 +02:00
hash.cc Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
hilite.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
json-utils.cc ValidPathInfo JSON format should use null not omit field 2024-06-03 08:21:22 -04:00
local.mk WIP add testresults output 2024-06-16 16:34:54 +02:00
logging.cc Rename hintfmt to HintFmt 2024-02-08 11:58:25 -08:00
lru-cache.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
meson.build enable -Werror=unused-result 2024-07-02 08:46:06 +02:00
nix_api_util.cc Split out GlobalConfig into its own header 2024-06-24 11:36:21 -04:00
package.nix Use lib instead of explicit fileset passing 2024-06-26 04:11:20 +02:00
pool.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
references.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
spawn.cc Remove lookupPathForProgram and implement initial runProgram test 2024-06-18 01:01:52 -07:00
suggestions.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
tests.cc renderSize(): Add some unit tests 2024-05-13 12:08:51 +02:00
url.cc isValidSchemeName: Use regex 2023-12-12 17:46:34 +01:00
xml-writer.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00