From d70fd80095d4c9c8f0db1264cb87835dae55e677 Mon Sep 17 00:00:00 2001 From: nprimo Date: Mon, 29 Jul 2024 12:53:31 +0100 Subject: [PATCH] docs(printif): update subject to be inline with tests --- subjects/printif/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/printif/README.md b/subjects/printif/README.md index e6c72410b..9f042d6d9 100644 --- a/subjects/printif/README.md +++ b/subjects/printif/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a function that takes a `string` as an argument and returns the letter `G` followed by a newline `\n` if the argument length is more than 3, otherwise returns `Invalid Input` followed by a newline `\n`. +Write a function that takes a `string` as an argument and returns the letter `G` followed by a newline `\n` if the argument length is more or equal than 3, otherwise returns `Invalid Input` followed by a newline `\n`. - If it's an empty string return `G` followed by a newline `\n`. @@ -39,7 +39,7 @@ And its output: ```console $ go run . | cat -e G$ -Invalid Input$ +G$ G$ Invalid Input$ ```