tree-sitter/spec/runtime/arithmetic_spec.cpp

15 lines
355 B
C++
Raw Normal View History

#include "spec_helper.h"
2013-12-17 13:14:41 -08:00
#include "../fixtures/parsers/arithmetic.c"
START_TEST
2013-12-17 13:14:41 -08:00
describe("arithmetic", []() {
it("parses_numbers", [&]() {
2014-01-07 21:50:32 -08:00
TSDocument *document = TSDocumentMake();
TSDocumentSetUp_arithmetic(document);
TSDocumentSetText(document, "5");
printf("%s", TSDocumentToString(document));
});
});
END_TEST