Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcell test cannot run with TERM="" #234

Closed
yaseenhamdulay opened this issue Apr 29, 2020 · 0 comments
Closed

tcell test cannot run with TERM="" #234

yaseenhamdulay opened this issue Apr 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yaseenhamdulay
Copy link

➜ termdash/tcell/tcell git:(5430f4d) TERM= go test
--- FAIL: TestNewTerminalColorMode (0.01s)
--- FAIL: TestNewTerminalColorMode/default_options (0.01s)
tcell_test.go:52: newTerminal => unexpected error:
exit status 1
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x5bf350]

goroutine 157 [running]:
testing.tRunner.func1.1(0x5f3180, 0x83b370)
/usr/lib/google-golang/src/testing/testing.go:941 +0x3d0
testing.tRunner.func1(0xc0001e6ea0)
/usr/lib/google-golang/src/testing/testing.go:944 +0x3f9
panic(0x5f3180, 0x83b370)
/usr/lib/google-golang/src/runtime/panic.go:967 +0x15d
github.com/mum4k/termdash/terminal/tcell.TestNewTerminalColorMode.func1(0xc0001e6ea0)
/usr/local/google/home/yaseenh/go/src/github.com/mum4k/termdash/terminal/tcell/tcell_test.go:56 +0xc0
testing.tRunner(0xc0001e6ea0, 0xc0001d2f30)
/usr/lib/google-golang/src/testing/testing.go:992 +0xdc
created by testing.(*T).Run
/usr/lib/google-golang/src/testing/testing.go:1043 +0x357
exit status 2
FAIL github.com/mum4k/termdash/terminal/tcell 0.040s

@mum4k mum4k self-assigned this Jun 20, 2020
@mum4k mum4k added the bug Something isn't working label Jun 20, 2020
@mum4k mum4k closed this as completed Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants