Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wreulicke committed Jan 23, 2025
1 parent aca05fc commit 5578350
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .snapshot/TestPatch_Template/Disabled
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
package main



func indented() {
var test int
println(test)
}
5 changes: 5 additions & 0 deletions .snapshot/TestPatch_Template/Enabled
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ package main
func main() {
}


func indented() {
var test int
println(test)
}
7 changes: 7 additions & 0 deletions testdata/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ package main
// }
// {{ end }}
// patchr:template-end

func indented() {
// patchr:template-start
// var test int
// println(test)
// patchr:template-end
}

0 comments on commit 5578350

Please sign in to comment.