MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / missing_is_error

Function missing_is_error

native/shared/src/renderer/shader_include.rs:167–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166 #[test]
167 fn missing_is_error() {
168 let src = table(&[("a.wgsl", "#include \"missing.wgsl\"\n")]);
169 assert!(matches!(
170 process(&src, "a.wgsl").unwrap_err(),
171 IncludeError::Missing { .. }
172 ));
173 }
174
175 #[test]
176 fn circular_detected() {

Callers

nothing calls this directly

Calls 1

tableFunction · 0.85

Tested by

no test coverage detected