From aaf77c3b2534d72e958aa7096aa0269bf65cfc3a Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Thu, 19 Nov 2020 14:46:43 +0100 Subject: [PATCH] Fix prompt example docs --- docs/input/prompt.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(), }; }));