fix/src/libutil/tests
Théophane Hufschmitt e68676e6c8 Fix the parsing of the sourcehut refs file
Since a26be9f3b8, the same parser is used
to parse the result of sourcehut’s `HEAD` endpoint (coming from [git
dumb protocol]) and the output of `git ls-remote`. However, they are very
slightly different (the former doesn’t specify the current reference
since it’s implied to be `HEAD`).

Unify both, and make the parser a bit more robust and understandable (by
making it more typed and adding tests for it)

[git dumb protocol]: https://git-scm.com/book/en/v2/Git-Internals-Transfer-Protocols#_the_dumb_protocol
2022-05-04 14:38:59 +02:00
..
chunked-vector.cc Add some tests for ChunkedVector 2022-04-22 10:03:44 +02:00
closure.cc Extract a generic computeClosure function 2021-05-19 11:44:58 +02:00
compression.cc Get rid of std::shared_ptr<std::string> and ref<std::string> 2022-01-18 11:12:30 +01:00
config.cc reproducibility: hide non-reproducible settings from manual 2021-12-01 17:25:58 +01:00
git.cc Fix the parsing of the sourcehut refs file 2022-05-04 14:38:59 +02:00
hash.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
hilite.cc Rename fmt test -> hilte 2022-04-21 13:00:50 +02:00
json.cc Add unit tests for "json.hh" 2020-05-25 11:57:45 +02:00
local.mk Add tests for logging.hh 2020-06-06 10:22:32 +02:00
logging.cc Factor out a GcStore interface 2022-03-03 19:01:25 +00:00
lru-cache.cc src/libutil/tests/lru-cache.cc: Check erase() 2020-06-02 12:06:59 +02:00
pool.cc Add tests for pool.hh 2020-06-10 22:29:50 +02:00
suggestions.cc Add some tests for the suggestions 2022-03-07 10:09:10 +01:00
tests.cc Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
url.cc Allow empty path segments in urls 2022-04-08 16:09:49 +02:00
xml-writer.cc Add unit tests for xml-writer 2020-05-25 18:34:55 +02:00