Commit Graph

5 Commits

Author SHA1 Message Date
Vincent Bernat
e2f1df9add tests: replace godebug by go-cmp for structure diffs
go-cmp is stricter and allow to catch more problems. Moreover, the
output is a bit nicer.
2025-08-23 16:03:09 +02:00
Vincent Bernat
19d07d350c common/remotedatasource: add a Stop() method
This is cleaner this way. We can't use it for the static provider as we
cannot stop a provider.
2025-07-29 08:36:16 +02:00
Vincent Bernat
239bf33f3a common/remotedatasource: make the test a bit more robust
We may have a 404 if the test is too slow.
2025-07-29 08:00:28 +02:00
Vincent Bernat
fa7e4745b8 common/remotedatasource: be stricter on results from remote sources
Also:
 - don't return partial results (not used)
 - fix tests
 - add more tests
2025-07-29 07:25:42 +02:00
Vincent Bernat
cce61cb0d6 common/remotedatasource: rename from remotedatasourcefetcher
Also rename RemoteDataSource to Source.
2025-07-28 18:41:50 +02:00