Added more tests

This commit is contained in:
2024-03-12 15:23:08 +01:00
parent 6a802c3ad8
commit 0e7bc76a0c
10 changed files with 91 additions and 55 deletions

12
tty/Terminal_test.go Normal file
View 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())
}