sterpe / coffee-fmt

gofmt for coffee
MIT License
9 stars 4 forks source link

Bug: string keys don’t work in objects #8

Closed NotBobTheBuilder closed 9 years ago

NotBobTheBuilder commented 9 years ago

For this test case, coffee src/cmd.coffee -i test/object_keys.coffee produces

{
"something"1
"something-else"2
}

without colons.

sterpe commented 9 years ago

Weird. Will look at later today.

sterpe commented 9 years ago

I fixed this and #7. Also added a barebones unit test framework via tape with the test cases you created.