Skip to content

Commit

Permalink
Item12060: Fix broken Fn_INCLUDE test
Browse files Browse the repository at this point in the history
Don't include path to graphics file in compare

git-svn-id: http://svn.foswiki.org/trunk@17742 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Jun 4, 2014
1 parent 02e7c46 commit 4ab29eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitTestContrib/test/unit/Fn_INCLUDE.pm
Expand Up @@ -654,7 +654,7 @@ HERE
"%INCLUDE{\"$this->{other_web}.$includedTopic\" section=\"suction\" warn=\"\$percntX\$percnt consider yourself \$quotwarned\$quot\"}%"
);
$this->assert_matches(
qr#<img src="/pub/System/DocumentGraphics/warning.png" alt="ALERT!" title="ALERT!" width="16" height="16" /> consider yourself "warned"#,
qr#<img src=".*System/DocumentGraphics/warning.png" alt="ALERT!" title="ALERT!" width="16" height="16" /> consider yourself "warned"#,
$text
);
}
Expand Down

0 comments on commit 4ab29eb

Please sign in to comment.