|
|
|
|
|
by neonspark
199 days ago
|
|
> Debug builds should by default give .unwrap() and .expect() a tiny chance, like 0.1%, to trigger anyway, even when the Option is Some (opt out via configuration). I'm trying to understand what you're proposing. Are you saying that normal debug builds should have artificial failures in them, or that there should be a special mode that tests these artificial failures? Because some of these failures could cause errors to be shown to the user, that could be really confusing when testing a debug build. |
|