It's correct on my editor and runnable,too.
I have no idea why it looks wired on github, but i try to download and install to run it, it's work.