hparser 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hparser/block/super_pre.rb +1 -5
- data/test/test_block.rb +10 -0
- metadata +2 -2
data/test/test_block.rb
CHANGED
@@ -60,6 +60,16 @@ END
|
|
60
60
|
END
|
61
61
|
end
|
62
62
|
|
63
|
+
def test_spre
|
64
|
+
p HParser::Parser.default_parser
|
65
|
+
assert_equal [SuperPre.new('a')],parse(<<-END)
|
66
|
+
>||
|
67
|
+
a
|
68
|
+
||<
|
69
|
+
END
|
70
|
+
|
71
|
+
end
|
72
|
+
|
63
73
|
def test_list
|
64
74
|
assert_equal [Ul.new(li('a'),Ol.new(li('b')),Ul.new(li('c')))],
|
65
75
|
parse(<<-END)
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: hparser
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2006-08-
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2006-08-05 00:00:00 +09:00
|
8
8
|
summary: Hatena Format Parser
|
9
9
|
require_paths:
|
10
10
|
- lib
|