Fix for multiple includes on the same page; ignoring leading/trailing whitespace in WikiLinks [both by dm1]

This commit is contained in:
Alexey Verkhovsky 2005-05-12 00:56:57 +00:00
parent 7c5958ae7b
commit f6a3b88693
4 changed files with 36 additions and 3 deletions

View file

@ -102,6 +102,13 @@ module ChunkMatch
"Wrong #{a_method} value")
end
end
# Asserts that test_text doesn't match the chunk_type
def no_match(chunk_type, test_text)
if chunk_type.respond_to? :pattern
assert_no_match(chunk_type.pattern, test_text)
end
end
end
if defined? $validate_xml_in_assert_success and $validate_xml_in_assert_success == true