Fix minor typo in parser tests error message.
authorC. Scott Ananian <cscott@cscott.net>
Thu, 13 Mar 2014 21:36:07 +0000 (17:36 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 13 Mar 2014 21:36:07 +0000 (17:36 -0400)
This was introduced in Ie4e68960ca7c352af495ebb59ba83488935a44c4.

Change-Id: I45352dd3dfd26acdcda147d8aa07be6f0d60698f

tests/testHelpers.inc

index 847ae32..1d9cf30 100644 (file)
@@ -573,7 +573,7 @@ class TestFileIterator implements Iterator {
                        throw new MWException( sprintf(
                                "'%s' without '%s' at line %s of %s\n",
                                $this->section,
-                               $token,
+                               implode( ',', $tokens ),
                                $this->lineNum,
                                $this->file
                        ) );