mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-19 21:52:16 +01:00
now returing bad request if no file to convert
This commit is contained in:
@@ -140,7 +140,7 @@ func TestClear(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestNoFileToConvertError(t *testing.T) {
|
||||
err := &noFileToConvertError{}
|
||||
err := &NoFileToConvertError{}
|
||||
if err.Error() != noFileToConvertErrorMessage {
|
||||
t.Errorf("Error returned a wrong message: got '%s' want '%s'", err.Error(), noFileToConvertErrorMessage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user