Skip to content

Commit

Permalink
fix #28: add cmp file
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 1, 2014
1 parent b16264f commit c819b85
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gorazor/test/brace_bug.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package cases

import (
"bytes"
)

func Brace_bug() string {
var _buffer bytes.Buffer

isActive := func(name string) {
if active == name {

_buffer.WriteString("<li class=\"active\">\n ")
} else {

_buffer.WriteString("<li>\n ")
}
}

return _buffer.String()
}

0 comments on commit c819b85

Please # to comment.