mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
test: update the integration tests to the 1.0 command and output behavior
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
3 files changed
+14
-10
No files matched your search
@@ -47,7 +47,7 @@ func TestGiteaPullEditLifecycle(t *testing.T) {
|
||||
execute("label", "export", "-R", repo.FullName, "--output-file", exportPath)
|
||||
exported, err := os.ReadFile(exportPath)
|
||||
require.NoError(t, err)
|
||||
require.Contains(t, string(exported), "00ff00 review ;")
|
||||
require.Contains(t, string(exported), "#00ff00 review\n")
|
||||
jsonExportPath := exportPath + ".json"
|
||||
execute("label", "export", "-R", repo.FullName, "--output-file", jsonExportPath, "--json")
|
||||
jsonExport, err := os.ReadFile(jsonExportPath)
|
||||
|
||||
Reference in new issue
Block a user