Added more tests
This commit is contained in:
parent
71c74c800b
commit
e0bfa137d5
10 changed files with 91 additions and 55 deletions
12
tty/Terminal_test.go
Normal file
12
tty/Terminal_test.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package tty_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"git.akyoto.dev/go/color/tty"
|
||||
)
|
||||
|
||||
func TestIsTerminal(t *testing.T) {
|
||||
tty.IsTerminal(os.Stdout.Fd())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue