Skip to content

Commit c008613

Browse files
authored
Merge pull request #767 from bwignall/fix_typos
Fix typos
2 parents 8bda488 + ca2bf93 commit c008613

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/scala/org/scalacheck/Gen.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ object Gen extends GenArities with GenVersionSpecific {
608608

609609

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

12891289
// We want to be sure we always initialize the calendar's time. By
12901290
// default, Calendar.getInstance uses the system time. We always
1291-
// overwrite it with a determinisitcally-generated time to be sure
1291+
// overwrite it with a deterministically-generated time to be sure
12921292
// that calendar generation is also deterministic.
12931293
//
12941294
// We limit the time (in milliseconds) because extreme values will

src/test/scala/org/scalacheck/util/PrettySpecification.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object PrettySpecification extends Properties("Pretty") {
4242
lines.forall(s => s.length <= length)
4343
}
4444

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

0 commit comments

Comments
 (0)