Rename 'parse_config' export -> 'parser'

This commit is contained in:
Max Brunsfeld 2014-03-15 14:48:28 -07:00
parent 0dc3a95d0c
commit da992b77ff
6 changed files with 11 additions and 12 deletions

View file

@ -1,7 +1,7 @@
#include "runtime_spec_helper.h"
#include "helpers/spy_reader.h"
extern "C" ts_parser ts_parse_config_json();
extern "C" ts_parser ts_parser_json();
START_TEST
@ -11,7 +11,7 @@ describe("parsing", [&]() {
before_each([&]() {
doc = ts_document_make();
ts_document_set_parser(doc, ts_parse_config_json());
ts_document_set_parser(doc, ts_parser_json());
reader = new SpyReader("{ \"key\": [1, 2] }", 5);
ts_document_set_input(doc, reader->input);