pegjs/test
David Majda 756b6fc473 Fix |resultStackDepth| computation for sequences
The |1 + ...| was wrong -- sequence does not need its own variable since
it reuses the one used by the first item.

Part of a fix for GH-53.
2011-09-30 17:23:57 +02:00
..
vendor/qunit Upgrade QUnit to the current master 2011-09-13 11:37:22 +02:00
checks-test.js test/checks-test.js: Avoid function definitions in loops 2011-09-18 16:25:47 +02:00
compiler-test.js Implament case-insensitive class matching 2011-09-30 11:45:36 +02:00
helpers.js Add ability to start parsing from any grammar rule 2011-03-29 15:40:34 +02:00
index.html Move test helper into its own file + reorder test file includes 2010-08-21 15:34:56 +02:00
parser-test.js Fix string parsing tests 2011-09-30 16:49:50 +02:00
passes-test.js Fix |resultStackDepth| computation for sequences 2011-09-30 17:23:57 +02:00
README Add command-line runner for the test suite 2011-01-25 16:59:32 +01:00
run Fix output printed during test failures 2011-09-18 18:05:10 +02:00

PEG.js Test Suite
=================

This is the PEG.js test suite. It ensures PEG.js works correctly. All tests
should always pass on all supported platforms.

Running in a browser
--------------------

  1. Open the index.html file in your browser.

  2. Watch the test pass (or fail).

Running from a command-line
---------------------------

  1. Make sure you have Node.js installed.

  2. Run the following command:

       ./run

  3. Watch the tests pass (or fail).