Skip to content

Commit ec9561e

Browse files
committed
rspec
1 parent 58653e2 commit ec9561e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Gemfile.devel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
gem "metanorma-standoc", git: "https://github.com/metanorma/metanorma-standoc", branch: "main"
2-
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "fix/presxml-20241106"
3-
gem "metanorma-iso", git: "https://github.com/metanorma/metanorma-iso", branch: "fix/presxml-20241106"
2+
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "main"
3+
gem "metanorma-iso", git: "https://github.com/metanorma/metanorma-iso", branch: "main"

lib/metanorma/jis/isodoc.rng

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
these elements; we just want one namespace for any child grammars
1818
of this.
1919
-->
20-
<!-- VERSION v1.3.4 -->
20+
<!-- VERSION v1.4.0 -->
2121
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2222
<include href="reqt.rng"/>
2323
<include href="basicdoc.rng">

spec/isodoc/metadata_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<sections> </sections>
129129
</jis-standard>
130130
INPUT
131-
output = <<~OUTPUT
131+
output = #<<~OUTPUT
132132
{:agency=>"JIS",
133133
:docnumber=>"1000-1.3:2000",
134134
:docnumber_undated=>"1000-1.3",
@@ -169,7 +169,7 @@
169169
:tc=>"A 1",
170170
:unpublished=>true,
171171
:wg=>"C 3"}
172-
OUTPUT
172+
#OUTPUT
173173
expect(metadata(c.info(Nokogiri::XML(input),
174174
nil))).to be_equivalent_to output
175175
end

spec/relaton/render_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@
285285
</bibitem>
286286
</references>
287287
INPUT
288-
output = <<~OUTPUT
288+
output = #<<~OUTPUT
289289
{"A"=>{:citation=>nil, :formattedref=>"Aluffi P. (編). Facets of Algebraic Geometry: A Collection in Honor of William Fulton's 80th Birthday. 第1版. (London Mathematical Society Lecture Note Series 472). Cambridge, UK: Cambridge University Press. 2022. 巻1"},
290290
"B"=>{:citation=>nil, :formattedref=>"Aluffi P. (編). Facets of Algebraic Geometry: A Collection in Honor of William Fulton's 80th Birthday. 第1版. (London Mathematical Society Lecture Note Series 472). Cambridge, UK: Cambridge University Press. 2022. 巻1"}}
291-
OUTPUT
291+
#OUTPUT
292292
p = renderer
293293
expect(p.render_all(input, type: nil))
294294
.to be_equivalent_to output

0 commit comments

Comments
 (0)