fix(mustache): Got whitespace management to pass the tests.

This commit is contained in:
Spencer Brower
2026-07-16 11:06:17 -04:00
parent 1f44adcf33
commit 7e93c3468f
9 changed files with 559 additions and 346 deletions
+3
View File
@@ -4,9 +4,12 @@ package mustache
import "core:encoding/json"
import "core:fmt"
import "core:os"
import "core:path/filepath"
import "core:testing"
run_spec_file :: proc(t: ^testing.T, path: string) {
dirs := [?]string{#directory, path}
path, _ := filepath.join(dirs[:], context.temp_allocator)
raw_data, err := os.read_entire_file(path, context.allocator)
if err != nil {
testing.expectf(t, false, "Failed to read %s", path)