diff --git a/test/integration/fuzzing-examples.cc b/test/integration/fuzzing-examples.cc index c962440e..46cac15a 100644 --- a/test/integration/fuzzing-examples.cc +++ b/test/integration/fuzzing-examples.cc @@ -30,7 +30,10 @@ describe("examples found via fuzzing", [&]() { it(("parses example number " + to_string(i)).c_str(), [&]() { TSDocument *document = ts_document_new(); - // ts_document_print_debugging_graphs(document, true); + + if (getenv("TREE_SITTER_ENABLE_DEBUG_GRAPHS")) { + ts_document_print_debugging_graphs(document, true); + } const string &language_name = examples[i].first; ts_document_set_language(document, load_real_language(language_name));