Sha256: de6a258cfca766285eecd185837fc2e4bb12ebc072b0411548b2bd2902a648ef

Contents?: true

Size: 550 Bytes

Versions: 9

Compression:

Stored size: 550 Bytes

Contents

require "spec_helper"

RSpec.describe Asciidoctor::Iec do
  it "processes the Asciidoctor::ISO inline macros" do
    expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iec, 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

9 entries across 9 versions & 1 rubygems

Version Path
metanorma-iec-0.0.9 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.8 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.7 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.6 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.5 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.4 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.3 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.2 spec/asciidoctor-iec/macros_spec.rb
metanorma-iec-0.0.1 spec/asciidoctor-iec/macros_spec.rb