Fix prompt example docs

This commit is contained in:
Patrik Svensson 2020-11-19 14:46:43 +01:00
parent d70ad661fc
commit aaf77c3b25

View File

@ -58,8 +58,8 @@ var age = AnsiConsole.Prompt(
{ {
return age switch return age switch
{ {
<= 99 => ValidationResult.Error("[red]Too low[/]"), < 99 => ValidationResult.Error("[red]Too low[/]"),
>= 99 => ValidationResult.Error("[red]Too high[/]"), > 99 => ValidationResult.Error("[red]Too high[/]"),
_ => ValidationResult.Success(), _ => ValidationResult.Success(),
}; };
})); }));