01-edu / public

📚 @01-edu's Public Repository
http://public.01-edu.org/
234 stars 459 forks source link

[QUESTION] go-reloaded subject #2718

Closed atouba closed 2 months ago

atouba commented 2 months ago

go-reloaded

It seems that there is a contradiction - a mistake in the subject and specifically in the last test case in the Usage section, regarding how ' should be handled. As per the subject:

The punctuation mark ' will always be found with another instance of it and they should be placed to the right and left of the word in the middle of them, without any spaces. (Ex: "I am exactly how they describe me: ' awesome '" -> "I am exactly how they describe me: 'awesome'")

However, the last test case in the Usage section:

$ cat sample.txt
Punctuation tests are ... kinda boring ,don't you think !?
$ go run . sample.txt result.txt
$ cat result.txt
Punctuation tests are... kinda boring, don't you think!?
MSilva95 commented 2 months ago

Hello @atouba ! thanks for the feedback, I will rephrase the example!