d6o / GoTree

A Tree printer module written in GoLang
https://disiqueira.github.io/GoTree/
MIT License
191 stars 32 forks source link

Test is not executed #17

Closed davidovich closed 5 years ago

davidovich commented 5 years ago

The test file contains a test, but it is only a visual inspection test.

A small refactor can allow to test dynamically, and I have a patch ready if you are interested.

icholy commented 5 years ago

See what happens when you change the example's Output comment and run the tests.

davidovich commented 5 years ago

Oh, my bad, I learned something today: https://blog.golang.org/examples