Skip to content

Commit

Permalink
Chenged src formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlbr committed Mar 14, 2020
1 parent a284d88 commit 6fa51db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions embed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

var SOURCETEMPLATE="embed.tpl"
var SOURCETEMPLATE = "embed.tpl"

func TestGeneratedTemplateFunktion(t *testing.T) {
// This test is rather nonsense, as it tests a generated funktion
Expand All @@ -24,11 +24,10 @@ func TestGeneratedTemplateFunktion(t *testing.T) {
fmt.Printf("Could not read source template file '%s'.\n", SOURCETEMPLATE)
t.Fail()
}
sourcetemplate:=string(sourcetemplatebytearray)
sourcetemplate := string(sourcetemplatebytearray)
if sourcetemplate != template {
fmt.Printf("Source template file '%s' and result of generated template function differ.\n", SOURCETEMPLATE)
t.Fail()
}

}

0 comments on commit 6fa51db

Please sign in to comment.