File: terraformignore_test.go

package info (click to toggle)
golang-github-hashicorp-go-slug 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 224 kB
  • sloc: makefile: 5
file content (14 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package slug

import (
	"testing"
)

func TestTerraformIgnore(t *testing.T) {
	// path to directory without .terraformignore
	p := parseIgnoreFile("testdata")
	if len(p) != 4 {
		t.Fatal("A directory without .terraformignore should get the default patterns")
	}

}