Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PENGUINLIONG committed Mar 13, 2024
1 parent 6005094 commit 6e9e90c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spirq-spvasm/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6e9e90c

Please sign in to comment.