diff --git a/tests/fixtures/fixture1_spec.ts b/tests/fixtures/fixture1_spec.ts index 71365ba..12cd306 100644 --- a/tests/fixtures/fixture1_spec.ts +++ b/tests/fixtures/fixture1_spec.ts @@ -146,7 +146,7 @@ export default { code: dedent` export const RocheName = pipe( S.String, - S.pattern(new RegExp('^[^\\n]*[^\\s\\n][^\\n]*$')), + S.pattern(new RegExp('^[^\\\\n]*[^\\\\s\\\\n][^\\\\n]*$')), S.maxLength(4096), ); export const RocheNameEncoded = S.encodedSchema(RocheName);