Skip to content

Commit

Permalink
Merge pull request #767 from bwignall/fix_typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
larsrh authored Mar 1, 2021
2 parents 8bda488 + ca2bf93 commit c008613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit c008613

Please sign in to comment.