mirror of https://github.com/01-edu/public.git
docs(ascii-art): implement suggestions
- change style of suggestion - change " to ' to avoid special characters interpretation
This commit is contained in:
parent
d58f8e8e38
commit
f659ea6d86
|
@ -2,7 +2,7 @@
|
|||
|
||||
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
|
||||
|
||||
###### For consistency, use `bash` as a shell to run the following tests.
|
||||
> For consistency, use bash for the following tests.
|
||||
|
||||
##### Try passing `"hello"` as an argument.
|
||||
|
||||
|
@ -126,7 +126,7 @@ $
|
|||
|
||||
###### Does it display the right graphical representation in ASCII as above?
|
||||
|
||||
##### Try passing `"hello There 1 to 2!"` as an argument.
|
||||
##### Try passing `'hello There 1 to 2!'` as an argument.
|
||||
|
||||
```
|
||||
_ _ _ _______ _ _ _ $
|
||||
|
@ -231,7 +231,7 @@ $
|
|||
|
||||
###### Does it display the right graphical representation in ASCII as above?
|
||||
|
||||
##### Try passing `"\!\" #$%&'()*+,-./"` as an argument.
|
||||
##### Try passing `'\!" #$%&'"'"'()*+,-./'` as an argument.
|
||||
|
||||
```
|
||||
__ _ _ _ _ _ _ _ __ _ __ __ _ __ $
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
|
||||
|
||||
###### For consistency, use `bash` as a shell to run the following tests.
|
||||
> For consistency, use bash for the following tests.
|
||||
|
||||
##### Try passing as arguments `--align right something standard`
|
||||
|
||||
|
@ -42,11 +42,11 @@ Example: go run . --align=right something standard
|
|||
|
||||
###### Does it display the correct result at the center?
|
||||
|
||||
##### Try passing as arguments `--align=left "23Hello World!" standard `
|
||||
##### Try passing as arguments `--align=left '23Hello World!' standard `
|
||||
|
||||
###### Does it display the correct result at the left side?
|
||||
|
||||
##### Try passing as arguments `--align=justify "HELLO there HOW are YOU?!" thinkertoy`
|
||||
##### Try passing as arguments `--align=justify 'HELLO there HOW are YOU?!' thinkertoy`
|
||||
|
||||
###### Does it display the correct result justified?
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
|
||||
|
||||
###### For consistency, use `bash` as a shell to run the following tests.
|
||||
> For consistency, use bash for the following tests.
|
||||
|
||||
##### Try passing as arguments `"--output test00.txt banana standard "`
|
||||
|
||||
|
@ -141,7 +141,7 @@ $
|
|||
|
||||
###### Does it save the right output in the right file?
|
||||
|
||||
##### Try passing as arguments `--output=test07.txt "Testing long output!" standard`
|
||||
##### Try passing as arguments `--output=test07.txt 'Testing long output!' standard`
|
||||
|
||||
```
|
||||
student$ cat test07.txt
|
||||
|
|
Loading…
Reference in New Issue