Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #767

Merged
merged 1 commit into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/org/scalacheck/Gen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ object Gen extends GenArities with GenVersionSpecific {


/**
* A fixed point generator. This is useful for making recusive structures
* A fixed point generator. This is useful for making recursive structures
* e.g.
*
* Gen.recursive[List[Int]] { recurse =>
Expand Down Expand Up @@ -1288,7 +1288,7 @@ object Gen extends GenArities with GenVersionSpecific {

// We want to be sure we always initialize the calendar's time. By
// default, Calendar.getInstance uses the system time. We always
// overwrite it with a determinisitcally-generated time to be sure
// overwrite it with a deterministically-generated time to be sure
// that calendar generation is also deterministic.
//
// We limit the time (in milliseconds) because extreme values will
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object PrettySpecification extends Properties("Pretty") {
lines.forall(s => s.length <= length)
}

property("break is reversable") =
property("break is reversible") =
Prop.forAll { (input: String, lead: String, x: Int) =>
val length = lead.length + (x & 0xff) + 1
val res = Pretty.break(input, lead, length)
Expand Down