01-edu / public

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

printreversealphabet subject #2540

Closed GuitarGuy99 closed 2 months ago

GuitarGuy99 commented 2 months ago

printreversealphabet

i keep getting an error despite having the newline in my code

error: Your Go files are not correctly formatted :

$ gofumpt -d . diff -u printreversealphabet/main.go.orig printreversealphabet/main.go --- printreversealphabet/main.go.orig +++ printreversealphabet/main.go @@ -7,4 +7,4 @@ z01.PrintRune(rune(i)) } z01.PrintRune('\n') -} \ No newline at end of file +}

code:



import "github.com/01-edu/z01"

func main() {
    for i := 122; i > 96; i-- {
        z01.PrintRune(rune(i))
    }
    z01.PrintRune('\n')
}
MSilva95 commented 2 months ago

@GuitarGuy99 Your code is not properly formatted. image

MSilva95 commented 2 months ago

If this is still an issue please reopen the issue, thank you for the feedback!

GuitarGuy99 commented 2 months ago

When running this locally it works perfectly fine... as well as any other terminal/IDE i dont see why someone would have to recreate the EXACT file to pass a test if it performs the same functionality...for example i could declare 'i' as type rune beforehand and it would not pass due to the nature of diff?

image

Is this not the expected outcome/result to pass the challenge?

Also im really upset because due to this i was unable to complete Quest2...and therefore was totally unprepared for Exam1...despite having the knowledge to probably pass...i wanted to complete all tasks beforehand. I missed exam 1 due to this. I attended the Open Day and was told there was a Discord Server i could join...but there isn't one. If there was one, the response time given the ability to contact ANYONE from 01Founders would be far quicker and the problem could be resolved in minutes rather than the day it took to reply (i only had 11 hours to finish the WHOLE of Quest2). Does this mean i failed the selection pool despite actually completing the task? Will i get a second chance? I dont know...because i still cant get past the damn 'diff' error.

Please provide a link to a Server or i'll make my own and post a link perhaps? It would be a good asset to 01Founders.

Sorry for the rant, i am just really annoyed right about it all