Browse Source

docs(ascii-art): implement suggestions

- change style of suggestion
- change " to ' to avoid special characters interpretation
pull/1629/head
nprimo 1 year ago committed by Niccolò Primo
parent
commit
f659ea6d86
  1. 6
      subjects/ascii-art/audit/README.md
  2. 6
      subjects/ascii-art/justify/audit.md
  3. 4
      subjects/ascii-art/output/audit.md

6
subjects/ascii-art/audit/README.md

@ -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.
```
__ _ _ _ _ _ _ _ __ _ __ __ _ __ $

6
subjects/ascii-art/justify/audit.md

@ -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?

4
subjects/ascii-art/output/audit.md

@ -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…
Cancel
Save