mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 06:59:18 +08:00
21 lines
280 B
Go
21 lines
280 B
Go
package templates
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/matryer/is"
|
|
)
|
|
|
|
func TestList(t *testing.T) {
|
|
|
|
is := is.New(t)
|
|
templates, err := List()
|
|
is.Equal(err, nil)
|
|
|
|
println("Found these templates:")
|
|
for _, template := range templates {
|
|
fmt.Printf("%+v\n", template)
|
|
}
|
|
}
|