You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 747cb8afaa Reset parser position when action returns |null|
The change does not change the benchmark suite execution speed
statistically significantly.

Detailed results (benchmark suite totals as reported by "jake benchmark"
on Node.js 0.4.8):

-----------------------------------
 Test #      Before        After
-----------------------------------
      1   128.20 kB/s   128.03 kB/s
      2   130.36 kB/s   128.73 kB/s
      3   126.53 kB/s   129.72 kB/s
      4   127.46 kB/s   127.48 kB/s
      5   127.63 kB/s   128.53 kB/s
-----------------------------------
Average   128.04 kB/s   125.50 kB/s
-----------------------------------

Closes GH-25.
13 years ago
..
vendor/qunit Upgrade QUnit to the current master (c532d183664118fc2ca1) 14 years ago
README Add command-line runner for the test suite 14 years ago
checks-test.js Do not pass |global| into wrapping functions in tests, it's useless 14 years ago
compiler-test.js Reset parser position when action returns |null| 13 years ago
helpers.js Add ability to start parsing from any grammar rule 14 years ago
index.html Move test helper into its own file + reorder test file includes 14 years ago
parser-test.js Do not pass |global| into wrapping functions in tests, it's useless 14 years ago
passes-test.js Do not pass |global| into wrapping functions in tests, it's useless 14 years ago
run Test and benchmark command-line runners can be run from any directory 14 years ago

README

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).