diff --git a/docs/input/prompt.md b/docs/input/prompt.md index d06e8dd..8a68afa 100644 --- a/docs/input/prompt.md +++ b/docs/input/prompt.md @@ -58,8 +58,8 @@ var age = AnsiConsole.Prompt( { return age switch { - <= 99 => ValidationResult.Error("[red]Too low[/]"), - >= 99 => ValidationResult.Error("[red]Too high[/]"), + < 99 => ValidationResult.Error("[red]Too low[/]"), + > 99 => ValidationResult.Error("[red]Too high[/]"), _ => ValidationResult.Success(), }; }));