zenocon
Joined 18 years ago
Joined 18 years ago
Totally concur with this. I feel like all these people complaining about "bloated test frameworks" either haven't written a lot of tests, or are just fine with repeating themselves in test code, or they end up writing their own version of a test framework anew in every project. So much simpler and sane to grab an off the shelf solution for test code.
expected
func someFunc() {
aSlice := []string{}{
}
}actual
func someFunc() {
aSlice := []string{}{
}}
The end bracket on the slice's initializer never indents correctly when you type it and hit <enter>. It always defaults to the first character of the next line. It seems insertNewLine somehow is not able to grok the idea of more than one set of matching brackets.
Edit: issue filed https://github.com/atom/bracket-matcher/issues/209