Revert "docgen: --cache off for tests"

This reverts commit 0a8a7a57e7a6b4b5a0d1523bde57b2a4b93fa50a.

This workaround is no longer necessary.
This commit is contained in:
Andrew Kelley 2019-03-11 10:30:15 -04:00
parent 6a5c2b249d
commit 3ff0e8bd96
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -1088,8 +1088,6 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
switch (code.mode) {
@ -1127,8 +1125,6 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
switch (code.mode) {
@ -1186,8 +1182,6 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
switch (code.mode) {
builtin.Mode.Debug => {},