Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Feb 4, 2016
1 parent bcb700d commit ff9681b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gotilla_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package gotilla

import (
"testing"
)

var bootstrapTests = []struct {
v string
want string
}{
{"hello", "hello"},
{"world", "world"}}

func TestBootstrap(t *testing.T) {
for _, tt := range bootstrapTests {
got := tt.v
if got != tt.want {
t.Errorf("Bootstrap failed")
}
}
}

0 comments on commit ff9681b

Please sign in to comment.