Assert when encountering a malformed module alias.

This commit is contained in:
Christoffer Lerno
2025-12-29 22:41:42 +01:00
parent c949bd3108
commit e4f1b57bd0
5 changed files with 10 additions and 2 deletions

View File

@@ -598,7 +598,7 @@ fn bool test_file(Path file_path, TestOutput* output, usz index)
}
if (try next)
{
io::fprintfn((OutStream)&output.buffer, `FAILED - %s did not contain: "%s"`, file.ptr.name, next)!!;
io::fprintfn((OutStream)&output.buffer, `FAILED - %s did not contain: %s`, file.ptr.name, next)!!;
io::fprintfn((OutStream)&output.buffer, "\n\n\n---------------------------------------------------> %s\n\n", file.ptr.name)!!;
(void)file_ll.seek(0);
io::fprintn((OutStream)&output.buffer, (String)io::read_fully(tmem, &file_ll))!!;