MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / print_errors

Method print_errors

crates/cli/src/wast_runner.rs:116–131  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

114 }
115
116 pub fn print_errors(&self) {
117 for group in self.0.values() {
118 for test in &group.tests {
119 if let Err(err) = &test.result {
120 eprintln!(
121 "{}:{}:{} {} failed: {}",
122 group.file,
123 test.linecol.0 + 1,
124 test.linecol.1 + 1,
125 test.name,
126 err
127 );
128 }
129 }
130 }
131 }
132
133 pub fn group_results(&self) -> Vec<GroupResult> {
134 self.0

Callers 1

run_pathsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected