github.com/ddnomad/packer@v1.3.2/common/terminal_test.go (about)

     1  package common
     2  
     3  import "testing"
     4  
     5  func TestGetTerminalDimensions(t *testing.T) {
     6  	if _, _, err := GetTerminalDimensions(); err != nil {
     7  		t.Fatalf("Unable to get terminal dimensions: %s", err)
     8  	}
     9  }