diff --git a/assert/is_error.ts b/assert/is_error.ts index 9255bda77..8f06aac4a 100644 --- a/assert/is_error.ts +++ b/assert/is_error.ts @@ -36,7 +36,7 @@ export function assertIsError( const msgSuffix = msg ? `: ${msg}` : "."; if (!(error instanceof Error)) { throw new AssertionError( - `Expected "error" to be an Error object${msgSuffix}}`, + `Expected "error" to be an Error object${msgSuffix}`, ); } if (ErrorClass && !(error instanceof ErrorClass)) {