Skip to content

Commit

Permalink
Change Gen.string so that it generates unicode characters excluding i…
Browse files Browse the repository at this point in the history
…nvalid

standalone surrogates.
  • Loading branch information
moodmosaic committed May 11, 2017
1 parent fdbfc96 commit 4979fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hedgehog/Gen.fs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ module Gen =

/// Generates a random string.
let string : Gen<string> =
choice [alphaNum; unicodeAll] |> string'
choice [alphaNum; unicode] |> string'

//
// Combinators - Primitives
Expand Down

0 comments on commit 4979fb5

Please sign in to comment.