tree-sitter/test
Phil Turnbull 18f261ad51 Initialise all fields of TSParseOptions in tests
This should prevent any confusing failures in the unit tests:

test/runtime/document_test.cc:381:7: warning: Passed-by-value struct argument contains uninitialized data (e.g., field: 'changed_range_count')
      ts_document_parse_with_options(document, options);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test/runtime/document_test.cc:408:7: warning: Passed-by-value struct argument contains uninitialized data (e.g., field: 'changed_range_count')
      ts_document_parse_with_options(document, options);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-06-14 11:12:06 -04:00
..
compiler Allow anonymous tokens to be used in grammars' external token lists 2017-03-17 16:31:29 -07:00
fixtures Allow anonymous tokens to be used in grammars' external token lists 2017-03-17 16:31:29 -07:00
helpers Silence false-positive warning in ts_record_free 2017-06-14 11:12:06 -04:00
integration Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
runtime Initialise all fields of TSParseOptions in tests 2017-06-14 11:12:06 -04:00
test_helper.h Rename spec -> test 2017-03-09 20:40:01 -08:00
tests.cc Rename spec -> test 2017-03-09 20:40:01 -08:00