Skip to content

Commit

Permalink
refactor(dragoman_test.go): standardize document markers in test prom…
Browse files Browse the repository at this point in the history
…pts for clarity
  • Loading branch information
bounoable committed Apr 18, 2024
1 parent eeef9d1 commit 38996ca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions dragoman_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ func TestTranslator_Translate(t *testing.T) {

wantPrompt := heredoc.Docf(`
Translate the following document to English:
---
---<DOC_BEGIN>---
%s
---
---<DOC_END>---
Preserve the original document structure and formatting.
Preserve code blocks, placeholders, HTML tags and other structures.
Expand All @@ -35,9 +35,9 @@ func TestSource(t *testing.T) {

wantPrompt := heredoc.Docf(`
Translate the following document from French to English:
---
---<DOC_BEGIN>---
%s
---
---<DOC_END>---
Preserve the original document structure and formatting.
Preserve code blocks, placeholders, HTML tags and other structures.
Expand All @@ -55,9 +55,9 @@ func TestTarget(t *testing.T) {

wantPrompt := heredoc.Docf(`
Translate the following document to French:
---
---<DOC_BEGIN>---
%s
---
---<DOC_END>---
Preserve the original document structure and formatting.
Preserve code blocks, placeholders, HTML tags and other structures.
Expand All @@ -75,9 +75,9 @@ func TestPreserve(t *testing.T) {

wantPrompt := heredoc.Docf(`
Translate the following document to English:
---
---<DOC_BEGIN>---
%s
---
---<DOC_END>---
Preserve the original document structure and formatting.
Preserve code blocks, placeholders, HTML tags and other structures.
Expand All @@ -96,9 +96,9 @@ func TestPreserve_multiple(t *testing.T) {

wantPrompt := heredoc.Docf(`
Translate the following document to English:
---
---<DOC_BEGIN>---
%s
---
---<DOC_END>---
Preserve the original document structure and formatting.
Preserve code blocks, placeholders, HTML tags and other structures.
Expand Down

0 comments on commit 38996ca

Please sign in to comment.