(t *testing.T)
| 5845 | } |
| 5846 | |
| 5847 | func Test_Ctx_SaveFile_NilFileHeader(t *testing.T) { |
| 5848 | t.Parallel() |
| 5849 | |
| 5850 | app := New() |
| 5851 | ctx := app.AcquireCtx(&fasthttp.RequestCtx{}) |
| 5852 | defer app.ReleaseCtx(ctx) |
| 5853 | |
| 5854 | err := ctx.SaveFile(nil, "test") |
| 5855 | |
| 5856 | require.Error(t, err) |
| 5857 | require.ErrorIs(t, err, ErrFileHeaderNil) |
| 5858 | } |
| 5859 | |
| 5860 | func Test_Ctx_SaveFileToStorage_DefaultBodyLimitFallback(t *testing.T) { |
| 5861 | t.Parallel() |
nothing calls this directly
no test coverage detected