summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-02-05 02:52:47 -0700
committerGitHub <noreply@github.com>2021-02-05 02:52:47 -0700
commita1505efca095aa6a8ab33fb34a0937cd26cbe822 (patch)
treee198381a2f9ed7ac1f7e68f0a355bc4a40cf18ce /test
parent1cb06932cbd5b0d777d3e444d6fc113a12a54c88 (diff)
resolves #3932 honor list of tags following negated wildcard on include directive (PR #3933)
Diffstat (limited to 'test')
-rw-r--r--test/reader_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reader_test.rb b/test/reader_test.rb
index be4b623d..c0b8c35f 100644
--- a/test/reader_test.rb
+++ b/test/reader_test.rb
@@ -1304,7 +1304,7 @@ class ReaderTest < Minitest::Test
test 'include directive skips lines all tagged regions except ones enabled when value of tags attribute is negated wildcard' do
input = <<~'EOS'
----
- include::fixtures/tagged-class.rb[tags=**;!*;init]
+ include::fixtures/tagged-class.rb[tags=!*;init]
----
EOS
@@ -1323,7 +1323,7 @@ class ReaderTest < Minitest::Test
test 'include directive does not include tag that has been included then excluded' do
input = <<~'EOS'
----
- include::fixtures/tagged-class.rb[tags=**;!*;init;!init]
+ include::fixtures/tagged-class.rb[tags=!*;init;!init]
----
EOS