Skip to content

Commit

Permalink
fix: updated test string to include multiple types of quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-fenichel committed Mar 6, 2024
1 parent 2dfb7b2 commit 95dd29b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion plugins/field-multilineinput/test/block_test.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const blockJson = {
block: {
type: 'text_multiline',
fields: {
TEXT: '’Twas brillig, and the slithy toves\n Did gyre and gimble in the wabe:\nAll mimsy were the borogoves,\n And the mome raths outgrabe.',
TEXT: 'Picard said, "Beam me up!".\nO\'Brien made it so.',
},
},
},
Expand Down
6 changes: 2 additions & 4 deletions plugins/field-multilineinput/test/golden/golden.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
main() {
print('’Twas brillig, and the slithy toves' + '\n' +
' Did gyre and gimble in the wabe:' + '\n' +
'All mimsy were the borogoves,' + '\n' +
' And the mome raths outgrabe.');
print('Picard said, "Beam me up!".' + '\n' +
'O\'Brien made it so.');
}
6 changes: 2 additions & 4 deletions plugins/field-multilineinput/test/golden/golden.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
window.alert('’Twas brillig, and the slithy toves' + '\n' +
' Did gyre and gimble in the wabe:' + '\n' +
'All mimsy were the borogoves,' + '\n' +
' And the mome raths outgrabe.');
window.alert('Picard said, "Beam me up!".' + '\n' +
'O\'Brien made it so.');
6 changes: 2 additions & 4 deletions plugins/field-multilineinput/test/golden/golden.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
print('’Twas brillig, and the slithy toves' .. '\n' ..
' Did gyre and gimble in the wabe:' .. '\n' ..
'All mimsy were the borogoves,' .. '\n' ..
' And the mome raths outgrabe.')
print('Picard said, "Beam me up!".' .. '\n' ..
'O\'Brien made it so.')
6 changes: 2 additions & 4 deletions plugins/field-multilineinput/test/golden/golden.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
print('’Twas brillig, and the slithy toves' . "\n" .
' Did gyre and gimble in the wabe:' . "\n" .
'All mimsy were the borogoves,' . "\n" .
' And the mome raths outgrabe.');
print('Picard said, "Beam me up!".' . "\n" .
'O\'Brien made it so.');
6 changes: 2 additions & 4 deletions plugins/field-multilineinput/test/golden/golden.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
print('’Twas brillig, and the slithy toves' + '\n' +
' Did gyre and gimble in the wabe:' + '\n' +
'All mimsy were the borogoves,' + '\n' +
' And the mome raths outgrabe.')
print('Picard said, "Beam me up!".' + '\n' +
"O'Brien made it so.")

0 comments on commit 95dd29b

Please sign in to comment.