TestTUIRenderUpdateAvailable verifies that the TUI renders update available message correctly.
(t *testing.T)
| 208 | |
| 209 | // TestTUIRenderUpdateAvailable verifies that the TUI renders update available message correctly. |
| 210 | func TestTUIRenderUpdateAvailable(t *testing.T) { |
| 211 | result := tui.RenderUpdateAvailable("v1.0.0", "v2.0.0") |
| 212 | assert.Contains(t, result, "Update available") |
| 213 | assert.Contains(t, result, "v1.0.0") |
| 214 | assert.Contains(t, result, "v2.0.0") |
| 215 | } |
| 216 | |
| 217 | // TestTUIRenderPMInstructions verifies that the TUI renders PM instructions correctly. |
| 218 | func TestTUIRenderPMInstructions(t *testing.T) { |
nothing calls this directly
no test coverage detected