mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix(release): lightweight tags in the snap build, version fallback, man pages for help topics, draft the 1.0.0 changelog
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
9 files changed
+100
-12
No files matched your search
@@ -66,3 +66,12 @@ func TestCanceledManDoesNotPublishOutputFile(t *testing.T) {
|
||||
require.True(t, os.IsNotExist(err))
|
||||
require.Empty(t, out.String())
|
||||
}
|
||||
|
||||
func TestManIncludesHelpTopicsButNotHelpCommands(t *testing.T) {
|
||||
deps, out, _ := testDeps(t)
|
||||
require.NoError(t, Execute(context.Background(), deps, []string{"man"}))
|
||||
manual := out.String()
|
||||
require.Contains(t, manual, `.TH "TEA-ENVIRONMENT"`)
|
||||
require.Contains(t, manual, `.TH "TEA-EXIT-CODES"`)
|
||||
require.NotContains(t, manual, `.TH "TEA-PR-HELP"`)
|
||||
}
|
||||
Reference in new issue
Block a user