aboutsummaryrefslogtreecommitdiff
path: root/test/string.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/string.spec.ts')
-rw-r--r--test/string.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/string.spec.ts b/test/string.spec.ts
index f07f1e16..fe8235b0 100644
--- a/test/string.spec.ts
+++ b/test/string.spec.ts
@@ -424,7 +424,7 @@ describe('string', () => {
expect(actual).toBeTypeOf('string');
expect(actual).toHaveLength(1000);
- expect(actual).toMatch(/^[1-9][0-9]+$/);
+ expect(actual).toMatch(/^[0-9]+$/);
});
it('should allow leading zeros via option', () => {