hcl/parser/parser_test.go

18 lines
197 B
Go
Raw Normal View History

2015-10-11 23:27:43 +00:00
package parser
import (
"fmt"
"testing"
)
func TestAssignStatment(t *testing.T) {
src := `ami = "${var.foo}"`
p := New([]byte(src))
p.enableTrace = true
n := p.Parse()
fmt.Println(n)
}