Files
gitocean/modules
Nils GorollandGusted 22b5dfdaf1 chore: use require.Error() over require.Errorf() (#11037)
Related to #11035, this test case used `require.Errorf()` where it could use `require.Error()` to make it clear that this is not a case of confusion with `require.ErrorContains()`

The other cases in the same function already use `require.Error()`, so this clearly looks like a consistency glitch.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11037
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:36:02 +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
2025-03-27 19:40:14 +00:00
2024-08-26 23:43:09 +02:00