mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-04 04:40:29 -06:00
17 lines
225 B
Go
17 lines
225 B
Go
package ast
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestConcatType(t *testing.T) {
|
|
c := &Concat{}
|
|
actual, err := c.Type(nil)
|
|
if err != nil {
|
|
t.Fatalf("err: %s", err)
|
|
}
|
|
if actual != TypeString {
|
|
t.Fatalf("bad: %s", actual)
|
|
}
|
|
}
|