2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal
Michael Eischer c3212ab6a6 test: use standard logging methods from testing for the test helpers
Use the logging methods from testing.TB to make use of tb.Helper(). This
allows the tests to log the filename and line number in which the test
helper was called. Previously the test helper was logged which is rarely
useful.
2023-05-26 19:34:57 +02:00
..
archiver test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
backend Merge pull request #4339 from greatroar/ioctl 2023-05-26 19:34:14 +02:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
checker check: Fix flaky TestCheckerModifiedData 2023-05-01 17:18:19 +02:00
crypto Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
debug Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
dump dump: Report filename with tar.ErrFieldTooLong 2023-04-27 11:45:41 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
fuse Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
migrations Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
restic Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
restorer Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test test: use standard logging methods from testing for the test helpers 2023-05-26 19:34:57 +02:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui Merge pull request #4339 from greatroar/ioctl 2023-05-26 19:34:14 +02:00
walker Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00