%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/waritko/go/src/github.com/mattn/go-isatty/
Upload File :
Create Path :
Current File : //home/waritko/go/src/github.com/mattn/go-isatty/isatty_others_test.go

// +build !windows

package isatty

import (
	"os"
	"testing"
)

func TestTerminal(t *testing.T) {
	// test for non-panic
	IsTerminal(os.Stdout.Fd())
}

func TestCygwinPipeName(t *testing.T) {
	if IsCygwinTerminal(os.Stdout.Fd()) {
		t.Fatal("should be false always")
	}
}

Zerion Mini Shell 1.0