Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit 4213c0e

Browse files
committed
fix: string examples made slightly more interesting
1 parent 7dde71b commit 4213c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function fuzzInt(_: FuzzContext, n: number): t.TypeOf<typeof t.Int> {
9090
}
9191

9292
export function fuzzString(_: FuzzContext, n: number): string {
93-
return `${n}`;
93+
return (Math.abs(n) / Math.PI).toString(36);
9494
}
9595

9696
export function fuzzNull(): null {

0 commit comments

Comments
 (0)