Skip to content

Commit

Permalink
rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 20, 2024
1 parent 4acbcbe commit e2ce228
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 89 deletions.
9 changes: 6 additions & 3 deletions spec/isodoc/ref_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,10 @@
<bibitem type="article" id="metrologia">
<formattedref>
J Terrien (1972)
<em>Metrologia</em>
News from the Bureau International des Poids et Mesures.
<em>
<em>Metrologia</em>
</em>
.
<strong>8</strong>
; (1); 32–36.
Expand Down Expand Up @@ -562,8 +565,8 @@
.
</p>
<p id="metrologia" class="Biblio">
[11]  J Terrien (1972)
<i>Metrologia</i>
[11]  J Terrien (1972) News from the Bureau International des Poids et Mesures.
<i><i>Metrologia</i></i>
.
<b>8</b>
; (1); 32–36.
Expand Down
2 changes: 1 addition & 1 deletion spec/metanorma/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@
<clause id="_" obligation="normative">
<title>Clause</title>
<p id="_">
<eref type="inline" bibitemid="a1" citeas="CGPM 1e Réunion (1889)"/>
<eref type="inline" bibitemid="a1" citeas="CGPM 1&lt;sup&gt;e&lt;/sup&gt; réunion (1889)"/>
<eref type="inline" style="BIPM-long" bibitemid="a2" citeas="Décision CIPM/101-1 (2012)"/>
</p>
</clause>
Expand Down
2 changes: 1 addition & 1 deletion spec/relaton/render_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
</bibitem>
INPUT
output = <<~OUTPUT
<formattedref>Aluffi P, Anderson D, Hering M, Mustaţă M and Payne S (Eds.) (2022) <em>London Mathematical Society Lecture Note Series</em> (N.S.). <strong>1</strong> (7) 89–112.</formattedref>
<formattedref>Aluffi P, Anderson D, Hering M, Mustaţă M and Payne S (Eds.) (2022) Facets of Algebraic Geometry: A Collection in Honor of William Fulton's 80th Birthday. <em><em>London Mathematical Society Lecture Note Series</em> (N.S.)</em>. <strong>1</strong> (7) 89–112.</formattedref>
OUTPUT
expect(renderer.render(input))
.to be_equivalent_to output
Expand Down
88 changes: 44 additions & 44 deletions spec/vcr_cassettes/bipm-fr.yml

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions spec/vcr_cassettes/bipm.yml

Large diffs are not rendered by default.

0 comments on commit e2ce228

Please sign in to comment.