Permalink
Browse files

Merge pull request #17 from ksmyth/develop

Escape backslashes in bundlePath
  • Loading branch information...
Tsung-Hsiang Chang
Tsung-Hsiang Chang committed Feb 8, 2012
2 parents 4ee9047 + d06ca77 commit 699d40492bafd76a136708464f933bca9d9060de
Showing with 1 addition and 1 deletion.
  1. +1 −1 sikuli-ide/src/main/java/org/sikuli/ide/sikuli_test/TextUnitTestRunner.java
@@ -59,7 +59,7 @@ private Test genTestSuite(String filename, String bundlePath) throws IOException
"\tdef __init__(self, name):\n"+
"\t\tjunit.framework.TestCase.__init__(self,name)\n"+
"\t\tself.theTestFunction = getattr(self,name)\n"+
- "\t\tsetBundlePath('"+bundlePath+"')\n"+
+ "\t\tsetBundlePath('"+bundlePath.replace("\\", "\\\\")+"')\n"+
"\tdef runTest(self):\n"+
"\t\tself.theTestFunction()\n";

0 comments on commit 699d404

Please sign in to comment.