Skip to content

Instantly share code, notes, and snippets.

@adilw3nomad
Created June 3, 2019 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adilw3nomad/4ecb7d12647cdc95aada299f455621af to your computer and use it in GitHub Desktop.
Save adilw3nomad/4ecb7d12647cdc95aada299f455621af to your computer and use it in GitHub Desktop.
shell
06:36 $ go test
# github.com/adilw3nomad/GopherQuiz [github.com/adilw3nomad/GopherQuiz.test]
./main_test.go:7:9: cannot convert "Correct! Well done" (type untyped string) to type int
./main_test.go:7:9: invalid operation: got != "Correct! Well done" (mismatched types int and string)
./main_test.go:14:9: cannot convert "WRONG! Answer is: 2" (type untyped string) to type int
./main_test.go:14:9: invalid operation: got != "WRONG! Answer is: 2" (mismatched types int and string)
FAIL github.com/adilw3nomad/GopherQuiz [build failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment