diff options
| author | Harshavardhana <harsha@harshavardhana.net> | 2016-02-12 09:13:08 +0000 |
|---|---|---|
| committer | Harshavardhana <harsha@harshavardhana.net> | 2016-02-12 09:13:08 +0000 |
| commit | 250120a4f09be9cf9eb01ae572a069f83b5db657 (patch) | |
| tree | 6e6a0f315af915e0db0cbd57d104d165716a6bf0 | |
| parent | 9aae6aaa22315390f03959adca2c4d395b02fcef (diff) | |
| download | colour-250120a4f09be9cf9eb01ae572a069f83b5db657.tar.gz colour-250120a4f09be9cf9eb01ae572a069f83b5db657.tar.bz2 | |
Remove last references of unused ansicolor package.
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | color_test.go | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -143,7 +143,7 @@ c.Println("This prints again cyan...") ## Credits * [Fatih Arslan](https://github.com/fatih) - * Windows support via @shiena: [ansicolor](https://github.com/shiena/ansicolor) + * Windows support via @mattn: [colorable](https://github.com/mattn/go-colorable) ## License diff --git a/color_test.go b/color_test.go index 4289f88..8028535 100644 --- a/color_test.go +++ b/color_test.go @@ -3,10 +3,9 @@ package color import ( "bytes" "fmt" - "os" "testing" - "github.com/shiena/ansicolor" + "github.com/mattn/go-colorable" ) // Testing colors is kinda different. First we test for given colors and their @@ -146,8 +145,7 @@ func TestNoColor(t *testing.T) { func TestColorVisual(t *testing.T) { // First Visual Test - fmt.Println("") - Output = ansicolor.NewAnsiColorWriter(os.Stdout) + Output = colorable.NewColorableStdout() New(FgRed).Printf("red\t") New(BgRed).Print(" ") |
