summaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ptx/src/test/mod.rs')
-rw-r--r--ptx/src/test/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptx/src/test/mod.rs b/ptx/src/test/mod.rs
index 0339141..0785f3e 100644
--- a/ptx/src/test/mod.rs
+++ b/ptx/src/test/mod.rs
@@ -12,7 +12,7 @@ fn parse_and_assert(s: &str) {
fn compile_and_assert(s: &str) -> Result<(), TranslateError> {
let mut errors = Vec::new();
let ast = ptx::ModuleParser::new().parse(&mut errors, s).unwrap();
- crate::to_spirv(ast)?;
+ crate::to_spirv_module(ast)?;
Ok(())
}