summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context_test.go
AgeCommit message (Collapse)Author
2022-03-17fix some thingsJesse Duffield
2021-12-06add popup handler for easier testingJesse Duffield
2021-12-06Fix: Don't access a view if it's `nil`DerTeta
The way the `if` expression in `deactivateContext` was composed, it was possible to have it to evaluate to `true` even though the `view` variable was `nil`. As far as I can tell, this seems to be only possible during tests. Nonetheless, I think the expression looks more "correct" this way.