aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-10 15:00:19 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-10 15:00:19 +0200
commit15fa201e647c1f7d504a0987d89551cd5d25f61c (patch)
tree4de4ed0caea8b083b0596353174a6a2f58f2deed
parent5a265d545448f44c8d2921da025dbe23fdd0123d (diff)
downloadpacrunner-15fa201e647c1f7d504a0987d89551cd5d25f61c.tar.gz
Use direct example from documention for unit tests
-rw-r--r--unit/test-mozjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-mozjs.c b/unit/test-mozjs.c
index 606d05a..b2d9f9a 100644
--- a/unit/test-mozjs.c
+++ b/unit/test-mozjs.c
@@ -45,7 +45,7 @@ void pacrunner_debug(const char *format, ...)
#define DIRECT_PAC "function FindProxyForURL(url, host)\n" \
"{\n" \
- " return(\"DIRECT\");" \
+ " return \"DIRECT\";" \
"}\n"
static void test_single_init(void)