From 346962beb540c22ddddbbf718310bf3593fcb16f Mon Sep 17 00:00:00 2001 From: Daenney Date: Sat, 26 Apr 2025 19:19:52 +0000 Subject: [chore] Fix daenney being bad at sed (#4060) Co-authored-by: Daenney Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4060 Co-authored-by: Daenney Co-committed-by: Daenney --- internal/db/bundb/status_test.go | 2 +- internal/typeutils/util_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/db/bundb/status_test.go b/internal/db/bundb/status_test.go index 982169b36..3ee494213 100644 --- a/internal/db/bundb/status_test.go +++ b/internal/db/bundb/status_test.go @@ -193,7 +193,7 @@ func (suite *StatusTestSuite) TestDeleteStatus() { // To run this test for postgres specifically, start a postgres container on localhost // and then run: // -// GTS_DB_TYPE=postgres GTS_DB_ADDRESS=localhost go test ./internal/db/bundb -run '^TestStatusTestSuite$' -testify.m '^(TestUpdateStatus)$' github.com/superseriousbusiness/gotosocial/internal/db/bundb +// GTS_DB_TYPE=postgres GTS_DB_ADDRESS=localhost go test ./internal/db/bundb -run '^TestStatusTestSuite$' -testify.m '^(TestUpdateStatus)$' code.superseriousbusiness.org/gotosocial/internal/db/bundb func (suite *StatusTestSuite) TestUpdateStatus() { // Take a copy of the status. targetStatus := >smodel.Status{} diff --git a/internal/typeutils/util_test.go b/internal/typeutils/util_test.go index 0fbd5d192..f8f142f45 100644 --- a/internal/typeutils/util_test.go +++ b/internal/typeutils/util_test.go @@ -188,7 +188,7 @@ func TestFilterableText(t *testing.T) { { status: >smodel.Status{ ContentWarning: "Nerd stuff", - Content: `

Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg, both running on Wazero, and configured with a 50MiB db cache target. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.

`, + Content: `

Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg, both running on Wazero, and configured with a 50MiB db cache target. This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.

`, Attachments: []*gtsmodel.MediaAttachment{ { Description: `Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.`, @@ -206,7 +206,7 @@ func TestFilterableText(t *testing.T) { }, expectedFields: []string{ "Nerd stuff", - "Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg , both running on Wazero , and configured with a 50MiB db cache target . This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.", + "Latest graphs for #GoToSocial on Wasm sqlite3 with embedded Wasm ffmpeg , both running on Wazero , and configured with a 50MiB db cache target . This is the version we'll be releasing soonish, now we're happy with how we've tamed everything.", "Graph showing GtS using between 150-300 MiB of memory, steadily, over a few days.", "Another media attachment", "Poll option 1", -- cgit v1.2.3