From 6e9e90c22b965e03aea3293e90686a9c40ad6873 Mon Sep 17 00:00:00 2001 From: PENGUINLIONG Date: Wed, 13 Mar 2024 14:30:52 +0800 Subject: [PATCH] fmt --- spirq-spvasm/src/test.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spirq-spvasm/src/test.rs b/spirq-spvasm/src/test.rs index 48f5311..aa33261 100644 --- a/spirq-spvasm/src/test.rs +++ b/spirq-spvasm/src/test.rs @@ -27,7 +27,10 @@ fn test_asm_dis_roundtrip() { %void_10 = OpTypeVoid "# .trim_start(); - let code = code.replace("SPIRV_VERSION", &format!("{}.{}", spirv::MAJOR_VERSION, spirv::MINOR_VERSION)); + let code = code.replace( + "SPIRV_VERSION", + &format!("{}.{}", spirv::MAJOR_VERSION, spirv::MINOR_VERSION), + ); let header = SpirvHeader::default(); let spv = Assembler::new().assemble(&code, header).unwrap(); let spvasm = Disassembler::new()