Fix test name
This commit is contained in:
@@ -41,7 +41,7 @@ context "Unicode Support" do
|
|||||||
assert_equal '', anchors[0].text
|
assert_equal '', anchors[0].text
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_h1 text, page
|
def check_h1 text, page
|
||||||
@wiki.write_page(page, :markdown, "# " + text)
|
@wiki.write_page(page, :markdown, "# " + text)
|
||||||
|
|
||||||
page = @wiki.page(page)
|
page = @wiki.page(page)
|
||||||
@@ -67,9 +67,9 @@ context "Unicode Support" do
|
|||||||
# is encoded.
|
# is encoded.
|
||||||
|
|
||||||
# href="#%ED%95%9C%EA%B8%80"
|
# href="#%ED%95%9C%EA%B8%80"
|
||||||
test_h1 '한글', '1'
|
check_h1 '한글', '1'
|
||||||
# href="#Synht%C3%A8se"
|
# href="#Synht%C3%A8se"
|
||||||
test_h1 'Synhtèse', '2'
|
check_h1 'Synhtèse', '2'
|
||||||
end
|
end
|
||||||
|
|
||||||
test "create and read non-latin page with anchor 2" do
|
test "create and read non-latin page with anchor 2" do
|
||||||
|
|||||||
Reference in New Issue
Block a user