test/options_test.rb in asciidoctor-1.5.2 vs test/options_test.rb in asciidoctor-1.5.3
- old
+ new
@@ -55,12 +55,12 @@
assert_equal 1, options[:input_files].size
assert_equal 'test/fixtures/sample.asciidoc', options[:input_files][0]
end
test 'standard attribute assignment' do
- options = Asciidoctor::Cli::Options.parse!(%w(-a imagesdir=images,icons test/fixtures/sample.asciidoc))
+ options = Asciidoctor::Cli::Options.parse!(%w(-a docinfosubs=attributes,replacements -a icons test/fixtures/sample.asciidoc))
- assert_equal 'images', options[:attributes]['imagesdir']
+ assert_equal 'attributes,replacements', options[:attributes]['docinfosubs']
assert_equal '', options[:attributes]['icons']
end
test 'multiple attribute arguments' do
options = Asciidoctor::Cli::Options.parse!(%w(-a imagesdir=images -a icons test/fixtures/sample.asciidoc))