mirror of https://github.com/01-edu/public.git
docs(printif): update subject to be inline with tests
This commit is contained in:
parent
e5633da44f
commit
d70fd80095
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
### Instructions
|
### 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`.
|
- If it's an empty string return `G` followed by a newline `\n`.
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ And its output:
|
||||||
```console
|
```console
|
||||||
$ go run . | cat -e
|
$ go run . | cat -e
|
||||||
G$
|
G$
|
||||||
Invalid Input$
|
G$
|
||||||
G$
|
G$
|
||||||
Invalid Input$
|
Invalid Input$
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue