From 665284392f84e903612ca9ca46391482cd15269a Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 11 Dec 2008 19:20:12 +0000 Subject: [PATCH] forward porting quotes in asset title fixTitle test --- t/Asset/Asset.t | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/t/Asset/Asset.t b/t/Asset/Asset.t index 9bb02119a..4640e2780 100644 --- a/t/Asset/Asset.t +++ b/t/Asset/Asset.t @@ -896,44 +896,49 @@ sub getFixTitleTests { }, { title => '', - fixed => undef, + fixed => undef, comment => "null string returns the Asset's title", }, { title => 'untitled', - fixed => undef, + fixed => undef, comment => "'untitled' returns the Asset's title", }, { title => 'UnTiTlEd', - fixed => undef, + fixed => undef, comment => "'untitled' in any case returns the Asset's title", }, { title => 'Username: ^@;', - fixed => 'Username: ^@;', + fixed => 'Username: ^@;', comment => "Macros are negated", }, { title => 'A bold title', - fixed => 'A bold title', + fixed => 'A bold title', comment => "Markup is stripped out", }, { title => 'Javascript: ', - fixed => 'Javascript: ', + fixed => 'Javascript: ', comment => "javascript removed", }, { title => 'This is a good Title', - fixed => 'This is a good Title', + fixed => 'This is a good Title', comment => "Good titles are passed", }, { title => '', - fixed => '', + fixed => '', comment => "If there is no title left after processing, then it is set to untitled.", }, + { + title => q|Quotes '"|, + fixed => q|Quotes '"|, + comment => "Quotes are not processed.", + }, ); }