mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #234] tcell test cannot run with TERM="" #129
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yaseenhamdulay on GitHub (Apr 29, 2020).
Original GitHub issue: https://github.com/mum4k/termdash/issues/234
Originally assigned to: @mum4k on GitHub.
➜ 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