elvish/pkg/cli/clitest
Qi Xiao 8519085327 clitest: Make failures in TestBuffer and TestNotesBuffer fatal.
If a buffer (or notes buffer) hasn't appeared, it means that the app is not in
some intended state. Subsequent tests are unlikely to be meaningful, and may run
into race conditions.

A lot of existing code already uses TestBuffer to ensure that a certain state is
reached, and making failures fatal also suits this usage better.

This fixes #1507.
2022-04-09 14:40:52 +01:00
..
apptest_test.go Support calling edit:notify with a styled text. 2021-12-08 00:26:17 +00:00
apptest.go interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
fake_tty_test.go Add new edit:clear command. 2021-02-26 00:36:09 +00:00
fake_tty.go clitest: Make failures in TestBuffer and TestNotesBuffer fatal. 2022-04-09 14:40:52 +01:00