Files
gitocean/modules/setting
Nils GorollandGusted 6412ee12d0 chore: require.ErrorContains() is intended, but require.Errorf() is used (#11035)
The two commits in this PR fix test cases which did not work as intended, because `require.Errorf()` was used where `require.ErrorContains()` was intended.

The former formats the error output by the test itself when failing, while the latter is to expect the tested error to contain some expected string.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11035
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Nils Goroll <nils.goroll@uplex.de>
Co-committed-by: Nils Goroll <nils.goroll@uplex.de>
2026-01-25 19:48:15 +01:00
..
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2023-07-04 18:36:08 +00:00
2026-01-13 16:59:56 +01:00
2025-10-23 00:38:47 +02:00
2025-04-15 05:48:19 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2023-02-20 16:18:26 -06:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00