Skip to content

Ensure genString always generates at least one character#83

Merged
garyb merged 1 commit into
masterfrom
string-gen-size
Jun 6, 2017
Merged

Ensure genString always generates at least one character#83
garyb merged 1 commit into
masterfrom
string-gen-size

Conversation

@garyb
Copy link
Copy Markdown
Member

@garyb garyb commented Jun 6, 2017

I'm not exactly sure where to fix this, but here seems reasonable.

QC and SC behave differently when given chooseInt 1 0 in that SC will always return 1 but QC will return either, so maybe this could be fixed in QC instead. I don't know what Jack does, so just making the change here at least ensures all will behave consistently.

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Jun 6, 2017

👍 LGTM!

@garyb garyb merged commit dc78175 into master Jun 6, 2017
@garyb garyb deleted the string-gen-size branch June 6, 2017 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants