mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: reconcile the repository, platform and admin streams
Share one yesNo helper, drop the unused confirmTyped now that typed confirmations go through confirmAction, keep Markdown raw in view tests through the markdown preference, and print doctor latency in whole milliseconds so fast instances do not show 0s. Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
6 files changed
+18
-27
No files matched your search
@@ -36,7 +36,8 @@ func TestReleaseViewShowsTheLatestReleaseWithNotesAndAssets(t *testing.T) {
|
||||
}))
|
||||
defer server.Close()
|
||||
deps, out, _ := repoTTYDeps(t, server.URL)
|
||||
deps.Getenv = serverEnv(server.URL, map[string]string{"TERM": "dumb", "TEA_MARKDOWN": "raw"})
|
||||
deps.Getenv = serverEnv(server.URL, map[string]string{"TERM": "dumb"})
|
||||
rawMarkdown(t, deps)
|
||||
require.NoError(t, Execute(context.Background(), deps, []string{"release", "view", "-R", "alice/project"}))
|
||||
require.Equal(t, `First release v0.1.0
|
||||
Latest • alice released this about 2 hours ago · target main
|
||||
|
||||
Reference in new issue
Block a user