summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-24 16:59:41 +0000
committeruckelman <uckelman@nomic.net>2010-04-24 16:59:41 +0000
commit5884e8868b3fd6a59efeb568f551547a9dc507d1 (patch)
treed0b97de6d172472222b20ba74e9a989ba9a29f0b /test
parent64bfac6e474b549bd938c9e9c659139a88d47eee (diff)
Need to escape quotes.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6736 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test')
-rw-r--r--test/unbbcodeTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unbbcodeTest.php b/test/unbbcodeTest.php
index b39f536..973352f 100644
--- a/test/unbbcodeTest.php
+++ b/test/unbbcodeTest.php
@@ -20,9 +20,9 @@ class unbbcodeTest extends PHPUnit_Framework_TestCase {
try {
require_once("src/unbbcode.php");
- \$msg = '$msg';
- \$uid = '$uid';
- \$bitfield = '$bitfield';
+ \$msg = \\'$msg\\';
+ \$uid = \\'$uid\\';
+ \$bitfield = \\'$bitfield\\';
\$unbbcode = new unbbcode();
\$unbbcode->bbcode_second_pass(\$msg, \$uid, \$bitfield);