diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-02-04 01:10:22 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-02-04 01:10:22 -0700 |
| commit | 4c9e945ec7582db9eaa9d239b2f6e1823295899c (patch) | |
| tree | 774c9238ec1c584f8e568e314d07d549b0faa315 /test/reader_test.rb | |
| parent | 4b2c13ae7cff5e911c382b811883caac9f9b1cb2 (diff) | |
fix tests for current code
Diffstat (limited to 'test/reader_test.rb')
| -rw-r--r-- | test/reader_test.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/reader_test.rb b/test/reader_test.rb index 39b61344..fad67e3b 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 @@ -1319,11 +1319,10 @@ class ReaderTest < Minitest::Test assert_includes output, expected end -=begin 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 @@ -1334,7 +1333,6 @@ class ReaderTest < Minitest::Test EOS assert_includes output, expected end -=end test 'include directive selects specified tagged lines and ignores the other tag directives' do input = <<~'EOS' |
