Skip to content

Commit

Permalink
test(HTML) Adjust a test
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Mar 5, 2020
1 parent 8643de7 commit aba658e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -969,9 +969,6 @@ Object {
"whenFalse": "",
"whenTrue": " except for Force Majeure cases,",
},
Object {
"$class": "org.accordproject.commonmark.Softbreak",
},
Object {
"$class": "org.accordproject.ciceromark.Variable",
"id": "seller",
Expand Down Expand Up @@ -1093,8 +1090,7 @@ exports[`html converts latedelivery.md to html 2`] = `
<p>And below is a <strong>clause</strong>.</p>
<div class=\\"clause\\" clauseid=\\"87721b95-7e43-4441-82c7-b4d4db207e6f\\" src=\\"https://templates.accordproject.org/archives/[email protected]\\">
<h2>Late Delivery and Penalty.</h2>
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"> except for Force Majeure cases,</span>
<span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"> except for Force Majeure cases,</span><span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
of delay penalty amounting to <span class=\\"variable\\" id=\\"penaltyPercentage\\">10.5</span>% of the total value of the Equipment
whose delivery has been delayed. Any fractional part of a <span class=\\"variable\\" id=\\"fractionalPart\\">days</span> is to be
considered a full <span class=\\"variable\\" id=\\"fractionalPart\\">days</span>. The total amount of penalty shall not however,
Expand Down Expand Up @@ -1170,9 +1166,6 @@ Object {
"whenFalse": "",
"whenTrue": " except for Force Majeure cases,",
},
Object {
"$class": "org.accordproject.commonmark.Softbreak",
},
Object {
"$class": "org.accordproject.ciceromark.Variable",
"id": "seller",
Expand Down Expand Up @@ -1294,8 +1287,7 @@ exports[`html converts latedelivery-noforce.md to html 2`] = `
<p>And below is a <strong>clause</strong>.</p>
<div class=\\"clause\\" clauseid=\\"87721b95-7e43-4441-82c7-b4d4db207e6f\\" src=\\"https://templates.accordproject.org/archives/[email protected]\\">
<h2>Late Delivery and Penalty.</h2>
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"></span>
<span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
<p>In case of delayed delivery<span class=\\"conditional\\" id=\\"forceMajeure\\" whenTrue=\\" except for Force Majeure cases,\\" whenFalse=\\"\\"></span><span class=\\"variable\\" id=\\"seller\\">\\"Dan\\"</span> (the Seller) shall pay to <span class=\\"variable\\" id=\\"buyer\\">\\"Steve\\"</span> (the Buyer) for every <span class=\\"variable\\" id=\\"penaltyDuration\\">2 days</span>
of delay penalty amounting to <span class=\\"variable\\" id=\\"penaltyPercentage\\">10.5</span>% of the total value of the Equipment
whose delivery has been delayed. Any fractional part of a <span class=\\"variable\\" id=\\"fractionalPart\\">days</span> is to be
considered a full <span class=\\"variable\\" id=\\"fractionalPart\\">days</span>. The total amount of penalty shall not however,
Expand Down
3 changes: 1 addition & 2 deletions packages/markdown-html/test/data/latedelivery-noforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ And below is a **clause**.
Late Delivery and Penalty.
----
In case of delayed delivery<if id="forceMajeure" value="" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/>
<variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
In case of delayed delivery<if id="forceMajeure" value="" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/><variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
of delay penalty amounting to <variable id="penaltyPercentage" value="10.5"/>% of the total value of the Equipment
whose delivery has been delayed. Any fractional part of a <variable id="fractionalPart" value="days"/> is to be
considered a full <variable id="fractionalPart" value="days"/>. The total amount of penalty shall not however,
Expand Down
3 changes: 1 addition & 2 deletions packages/markdown-html/test/data/latedelivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ And below is a **clause**.
Late Delivery and Penalty.
----
In case of delayed delivery<if id="forceMajeure" value="%20except%20for%20Force%20Majeure%20cases%2C" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/>
<variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
In case of delayed delivery<if id="forceMajeure" value="%20except%20for%20Force%20Majeure%20cases%2C" whenTrue="%20except%20for%20Force%20Majeure%20cases%2C" whenFalse=""/><variable id="seller" value="%22Dan%22"/> (the Seller) shall pay to <variable id="buyer" value="%22Steve%22"/> (the Buyer) for every <variable id="penaltyDuration" value="2%20days"/>
of delay penalty amounting to <variable id="penaltyPercentage" value="10.5"/>% of the total value of the Equipment
whose delivery has been delayed. Any fractional part of a <variable id="fractionalPart" value="days"/> is to be
considered a full <variable id="fractionalPart" value="days"/>. The total amount of penalty shall not however,
Expand Down

0 comments on commit aba658e

Please sign in to comment.