(file: string, text: string)
| 22 | beforeAll(async () => { |
| 23 | root = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-cpp-overload-constness-')); |
| 24 | const write = (file: string, text: string): void => { |
| 25 | fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true }); |
| 26 | fs.writeFileSync(path.join(root, file), text); |
| 27 | }; |
| 28 | // The const overloads come first, as in protobuf's message_lite.h. |
| 29 | write('src/message_lite.h', lines( |
| 30 | '#include <memory>', |
no test coverage detected