tree-sitter/spec/runtime/arithmetic_spec.cpp
2014-01-07 21:50:32 -08:00

15 lines
No EOL
355 B
C++

#include "spec_helper.h"
#include "../fixtures/parsers/arithmetic.c"
START_TEST
describe("arithmetic", []() {
it("parses_numbers", [&]() {
TSDocument *document = TSDocumentMake();
TSDocumentSetUp_arithmetic(document);
TSDocumentSetText(document, "5");
printf("%s", TSDocumentToString(document));
});
});
END_TEST