test/test_markdownbuilder.rb in review-1.6.0 vs test/test_markdownbuilder.rb in review-1.7.0
- old
+ new
@@ -10,14 +10,12 @@
include ReVIEW
def setup
@builder = MARKDOWNBuilder.new()
@config = {
- "secnolevel" => 2, # for IDGXMLBuilder, HTMLBuilder
- "inencoding" => "UTF-8",
- "outencoding" => "UTF-8",
- "stylesheet" => nil, # for HTMLBuilder
+ "secnolevel" => 2, # for IDGXMLBuilder, HTMLBuilder
+ "stylesheet" => nil, # for HTMLBuilder
}
@book = Book::Base.new(nil)
@book.config = @config
@compiler = ReVIEW::Compiler.new(@builder)
@chapter = Book::Chapter.new(@book, 1, '-', nil, StringIO.new)
@@ -72,10 +70,11 @@
//}
EOS
assert_equal <<-EOS, actual
リスト1.1 caption
+
```
AAA
BBB
```
EOS
@@ -89,10 +88,11 @@
//}
EOS
assert_equal <<-EOS, actual
リスト1.1 caption
+
```ruby
AAA
BBB
```
EOS
@@ -107,9 +107,10 @@
EOS
assert_equal <<-EOS, actual
caption
+
```ruby
AAA
BBB
```