From ed5a0b382bcffc9c792dfb514fb4510535c39255 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 27 Sep 2023 08:30:29 +0200 Subject: [PATCH] Update heartwood Signed-off-by: Sebastian Martinez --- tests/support/fixtures.ts | 30 ++++++++++++++++++++++++++++-- tests/support/heartwood-version | 2 +- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/tests/support/fixtures.ts b/tests/support/fixtures.ts index 93199ce29..41e0e9fd7 100644 --- a/tests/support/fixtures.ts +++ b/tests/support/fixtures.ts @@ -411,10 +411,12 @@ export async function createCobsFixture(peer: RadiclePeer) { ); const { stdout: commentIssueOne } = await peer.rad( [ + "issue", "comment", issueOne, "--message", "This is a multiline comment\n\nWith some more text.", + "--quiet", ], createOptions(projectFolder, 2), ); @@ -426,12 +428,14 @@ export async function createCobsFixture(peer: RadiclePeer) { ); const { stdout: replyIssueOne } = await peer.rad( [ + "issue", "comment", issueOne, "--message", "This is a reply, to a first comment.", "--reply-to", commentIssueOne, + "--quiet", ], createOptions(projectFolder, 3), ); @@ -443,10 +447,12 @@ export async function createCobsFixture(peer: RadiclePeer) { ); await peer.rad( [ + "issue", "comment", issueOne, "--message", "A root level comment after a reply, for margins sake.", + "--quiet", ], createOptions(projectFolder, 4), ); @@ -484,43 +490,63 @@ export async function createCobsFixture(peer: RadiclePeer) { { cwd: projectFolder }, ); const { stdout: commentPatchOne } = await peer.rad( - ["comment", patchOne, "--message", "I'll review the patch"], + [ + "patch", + "comment", + patchOne, + "--message", + "I'll review the patch", + "--quiet", + ], createOptions(projectFolder, 1), ); await peer.rad( [ + "patch", "comment", patchOne, "--message", "Thanks for that!", "--reply-to", commentPatchOne, + "--quiet", ], createOptions(projectFolder, 2), ); await peer.rad( [ + "patch", "comment", patchOne, "--message", "Yeah no problem!", "--reply-to", commentPatchOne, + "--quiet", ], createOptions(projectFolder, 3), ); const { stdout: commentTwo } = await peer.rad( - ["comment", patchOne, "--message", "Looking good so far"], + [ + "patch", + "comment", + patchOne, + "--message", + "Looking good so far", + "--quiet", + ], createOptions(projectFolder, 4), ); await peer.rad( [ + "patch", "comment", patchOne, "--message", "Thanks again!", "--reply-to", commentTwo, + "--quiet", ], createOptions(projectFolder, 5), ); diff --git a/tests/support/heartwood-version b/tests/support/heartwood-version index a14001a19..cadf87a38 100644 --- a/tests/support/heartwood-version +++ b/tests/support/heartwood-version @@ -1 +1 @@ -9df1922f15ca5a27057ce0a8f7197efe3ff32ee3 +5acfffb352a47e052673f7ecc0c87653bc6c8ec4