test: removed nil_logger from tests.

Tests always pass with it.
This commit is contained in:
Spencer Brower
2026-08-12 10:50:10 -04:00
parent a9d7525dd6
commit f6bda92397
5 changed files with 1 additions and 21 deletions
-5
View File
@@ -3,7 +3,6 @@ package mustache
import "core:encoding/json"
import "core:fmt"
import "core:log"
import "core:os"
import "core:path/filepath"
import "core:testing"
@@ -55,10 +54,6 @@ run_one_test :: proc(
test: json.Object,
name, template_src, expected: string,
) -> bool {
// Spec tests deliberately exercise missing keys, missing partials, etc.
// Silence the warnings to keep test output readable.
context.logger = log.nil_logger()
partials := make_map(map[string]Template, context.temp_allocator)
if "partials" in test {