Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mbey-mw committed Feb 8, 2024
1 parent db7f1cf commit 8144fcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2029,7 +2029,7 @@ describe('Builder', () => {
' <source>Some text <ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></source>\n' +
' </trans-unit>\n' +
' <trans-unit id="ID2" datatype="html">\n' +
' <source>no-space<ph disp="{{ myLabel }} equiv="INTERPOLATION" id="0""/> <ph disp="{{ myNumber }} equiv="INTERPOLATION_1" id="1""/></source>\n' +
' <source>no-space<ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></source>\n' +
' </trans-unit>\n' +
' </body>\n' +
' </file>\n' +
Expand All @@ -2038,8 +2038,8 @@ describe('Builder', () => {
' <file source-language="de" target-language="fr-ch" datatype="plaintext" original="ng2.template">\n' +
' <body>\n' +
' <trans-unit id="ID1" datatype="html">\n' +
' <source>Some text <ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }} equiv="INTERPOLATION_1" id="1""/></source>\n' +
' <target state="new">Some text <ph disp="{{ myLabel }} equiv="INTERPOLATION" id="0""/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></target>\n' +
' <source>Some text <ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></source>\n' +
' <target state="new">Some text <ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></target>\n' +
' </trans-unit>\n' +
' <trans-unit id="ID2" datatype="html">\n' +
' <source>no-space<ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/> <ph disp="{{ myNumber }}" equiv="INTERPOLATION_1" id="1"/></source>\n' +
Expand Down
2 changes: 1 addition & 1 deletion src/model/translationFileSerialization.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ describe('translationFileSerialization', () => {
const translationFile = fromXlf1(xlf1);
expect(translationFile).toEqual(new TranslationFile([{
id: 'ID1',
source: 'Some text <ph disp="{{ myLabel }} equiv="INTERPOLATION" id="0""/>',
source: 'Some text <ph disp="{{ myLabel }}" equiv="INTERPOLATION" id="0"/>',
locations: []
}], 'de', undefined, undefined));
});
Expand Down

0 comments on commit 8144fcf

Please sign in to comment.