Skip to content

Commit

Permalink
Merge pull request #436 from TysonMN/418_gens_changed_msg
Browse files Browse the repository at this point in the history
Fix dead end message
  • Loading branch information
TysonMN authored Jul 14, 2023
2 parents 8c5a5a4 + de87bea commit 935c404
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 935c404

Please sign in to comment.