Sha256: 9e65598cbd8193295be23500e6c8846417ddd2be6798b61ec4f55b2cbd8f8f38

Contents?: true

Size: 544 Bytes

Versions: 16

Compression:

Stored size: 544 Bytes

Contents

require "spec_helper"

RSpec.describe Asciidoctor::ISO do
  it "processes the Asciidoctor::ISO inline macros" do
    expect(xmlpp(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
      #{ASCIIDOC_BLANK_HDR}
      alt:[term1]
      deprecated:[term1]
      domain:[term1]
    INPUT
    #{BLANK_HDR}
       <sections>
         <admitted>term1</admitted>
       <deprecates>term1</deprecates>
       <domain>term1</domain>
       </sections>
       </iso-standard>
    OUTPUT
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
metanorma-iso-1.3.23 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.22 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.21 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.20 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.19 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.18 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.17 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.16 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.15 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.13 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.12 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.11 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.10 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.9 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.8 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.7 spec/asciidoctor-iso/macros_spec.rb