Skip to content

Commit

Permalink
Fix recheck dead-end message to say generators changed hedgehogqa#418
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonMN committed Jul 14, 2023
1 parent 8c5a5a4 commit de87bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hedgehog/Property.fs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ module Property =
children
|> Seq.skip i
|> Seq.tryHead
|> Option.defaultWith (fun () -> failwith "The shrink path lead to a dead end. This should never happen.")
|> Option.defaultWith (fun () -> failwith "The shrink path lead to a dead end, which means the generators have changed. Thus, 'recheck' is not possible. Use 'check' instead.")
followShrinkPath nextRoot shinkPathTail

let private splitAndRun p data =
Expand Down

0 comments on commit de87bea

Please sign in to comment.