Sha256: cf1b53a17bcf58f3beb18cf3b660ab3d434b39d27ff5f71236acf7efe78943a2

Contents?: true

Size: 530 Bytes

Versions: 10

Compression:

Stored size: 530 Bytes

Contents

require "spec_helper"

RSpec.describe Asciidoctor::ISO do
  it "processes the Asciidoctor::ISO inline macros" do
    expect(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)).to be_equivalent_to <<~"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

10 entries across 10 versions & 1 rubygems

Version Path
metanorma-iso-1.3.6 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.5 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.4 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.3 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.2 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.1 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.3.0 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.2.4 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.2.3 spec/asciidoctor-iso/macros_spec.rb
metanorma-iso-1.2.2 spec/asciidoctor-iso/macros_spec.rb