diff options
author | 2023-05-09 12:16:10 +0200 | |
---|---|---|
committer | 2023-05-09 11:16:10 +0100 | |
commit | 0e29f1f5bb68a48d9b837d7f4e0a16370734955b (patch) | |
tree | f08d203ec8ca8aeea728e5251b1dc3956524b4f4 /internal/text/formatter_test.go | |
parent | [chore/performance] Make sender multiplier configurable (#1750) (diff) | |
download | gotosocial-0e29f1f5bb68a48d9b837d7f4e0a16370734955b.tar.xz |
[feature] Enable federation in/out of profile PropertyValue fields (#1722)
Co-authored-by: kim <grufwub@gmail.com>
Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Diffstat (limited to 'internal/text/formatter_test.go')
-rw-r--r-- | internal/text/formatter_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/text/formatter_test.go b/internal/text/formatter_test.go index 8498a6408..403ba8e8e 100644 --- a/internal/text/formatter_test.go +++ b/internal/text/formatter_test.go @@ -92,3 +92,7 @@ func (suite *TextStandardTestSuite) FromMarkdown(text string) *text.FormatResult func (suite *TextStandardTestSuite) FromPlain(text string) *text.FormatResult { return suite.formatter.FromPlain(context.Background(), suite.parseMention, suite.testAccounts["local_account_1"].ID, "status_ID", text) } + +func (suite *TextStandardTestSuite) FromPlainNoParagraph(text string) *text.FormatResult { + return suite.formatter.FromPlainNoParagraph(context.Background(), suite.parseMention, suite.testAccounts["local_account_1"].ID, "status_ID", text) +} |