mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-13 19:02:15 +01:00
typo in timeout tests + adding tests for standarderror
This commit is contained in:
@@ -45,7 +45,7 @@ func AssertConcurrent(t *testing.T, fn func() error, amount int) {
|
||||
// If so, returns the instance of standarderror.Error.
|
||||
func RequireStandardError(t *testing.T, err error) *standarderror.Error {
|
||||
standardized, ok := err.(*standarderror.Error)
|
||||
require.Equal(t, ok, true)
|
||||
require.Equal(t, true, ok)
|
||||
return standardized
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user