Created
December 4, 2008 22:05
-
-
Save brynary/32110 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Failure: | |
test_should_allow_area_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_area_tag']: | |
<area title='1'>foo <bad>bar</bad> baz</area>. | |
<"<area title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<area title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
2) Failure: | |
test_should_allow_br_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_br_tag']: | |
<br title='1'>foo <bad>bar</bad> baz</br>. | |
<"<br title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<br title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
3) Failure: | |
test_should_allow_col_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_col_tag']: | |
<col title='1'>foo <bad>bar</bad> baz</col>. | |
<"<col title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<col title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
4) Failure: | |
test_should_allow_hr_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_hr_tag']: | |
<hr title='1'>foo <bad>bar</bad> baz</hr>. | |
<"<hr title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<hr title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
5) Failure: | |
test_should_allow_img_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_img_tag']: | |
<img title='1'>foo <bad>bar</bad> baz</img>. | |
<"<img title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<img title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
6) Failure: | |
test_should_allow_input_tag(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:48:in `test_should_allow_input_tag']: | |
<input title='1'>foo <bad>bar</bad> baz</input>. | |
<"<input title='1'/>foo <bad>bar</bad> baz"> expected but was | |
<"<input title='1'/><p>foo <bad>bar</bad> baz</p>">. | |
7) Failure: | |
test_should_allow_xlink:actuate_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:actuate_attribute']: | |
<p xlink:actuate='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:actuate='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
8) Failure: | |
test_should_allow_xlink:arcrole_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:arcrole_attribute']: | |
<p xlink:arcrole='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:arcrole='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
9) Failure: | |
test_should_allow_xlink:href_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:href_attribute']: | |
<p xlink:href='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:href='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p href='foo'>foo <bad>bar</bad> baz</p>">. | |
10) Failure: | |
test_should_allow_xlink:role_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:role_attribute']: | |
<p xlink:role='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:role='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
11) Failure: | |
test_should_allow_xlink:show_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:show_attribute']: | |
<p xlink:show='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:show='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
12) Failure: | |
test_should_allow_xlink:title_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:title_attribute']: | |
<p xlink:title='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:title='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p title='foo'>foo <bad>bar</bad> baz</p>">. | |
13) Failure: | |
test_should_allow_xlink:type_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xlink:type_attribute']: | |
<p xlink:type='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xlink:type='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p type='foo'>foo <bad>bar</bad> baz</p>">. | |
14) Failure: | |
test_should_allow_xml:base_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xml:base_attribute']: | |
<p xml:base='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xml:base='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
15) Failure: | |
test_should_allow_xml:space_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xml:space_attribute']: | |
<p xml:space='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xml:space='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
16) Failure: | |
test_should_allow_xmlns:xlink_attribute(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:69:in `test_should_allow_xmlns:xlink_attribute']: | |
<p xmlns:xlink='foo'>foo <bad>bar</bad> baz</p>. | |
<"<p xmlns:xlink='foo'>foo <bad>bar</bad> baz</p>"> expected but was | |
<"<p>foo <bad>bar</bad> baz</p>">. | |
17) Failure: | |
test_should_handle_astral_plane_characters(SanitizeTest) | |
[./test/test_sanitizer.rb:12:in `check_sanitization' | |
./test/test_sanitizer.rb:103:in `test_should_handle_astral_plane_characters']: | |
<p>𝒵 𝔸</p>. | |
<"<p>\360\235\222\265 \360\235\224\270</p>"> expected but was | |
<"<p>𝒵 𝔸</p>">. | |
410 tests, 414 assertions, 17 failures, 0 errors | |
rake aborted! | |
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment