Skip to content

Commit edd7ff4

Browse files
authored
Fix formatting. (#7856)
1 parent 2b2e69d commit edd7ff4

File tree

12 files changed

+46
-46
lines changed

12 files changed

+46
-46
lines changed

crates/cairo-lang-lowering/src/borrow_check/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cairo_lang_test_utils::test_file_test!(
1313
borrow_check,
1414
"src/borrow_check/test_data",
1515
{
16-
borrow_check :"borrow_check",
17-
closure :"closure",
16+
borrow_check: "borrow_check",
17+
closure: "closure",
1818
},
1919
test_borrow_check
2020
);

crates/cairo-lang-lowering/src/cache/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cairo_lang_test_utils::test_file_test!(
1515
cache,
1616
"src/cache/test_data",
1717
{
18-
cache :"cache",
18+
cache: "cache",
1919
},
2020
test_cache_check
2121
);

crates/cairo-lang-lowering/src/inline/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ cairo_lang_test_utils::test_file_test!(
1414
inlining,
1515
"src/inline/test_data",
1616
{
17-
inline :"inline",
18-
inline_diagnostics :"inline_diagnostics",
17+
inline: "inline",
18+
inline_diagnostics: "inline_diagnostics",
1919
},
2020
test_function_inlining
2121
);

crates/cairo-lang-lowering/src/lower/generated_test.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ cairo_lang_test_utils::test_file_test!(
1818
generated,
1919
"src/lower/test_data",
2020
{
21-
closure :"closure",
22-
loop_ :"loop",
23-
while_ :"while",
24-
for_ :"for",
21+
closure: "closure",
22+
loop_: "loop",
23+
while_: "while",
24+
for_: "for",
2525
},
2626
test_generated_function
2727
);

crates/cairo-lang-lowering/src/lower/specialized_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cairo_lang_test_utils::test_file_test!(
2121
specialized,
2222
"src/lower/test_data",
2323
{
24-
specialized :"specialized",
24+
specialized: "specialized",
2525
},
2626
test_specialized_function
2727
);

crates/cairo-lang-lowering/src/optimizations/branch_inversion_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cairo_lang_test_utils::test_file_test!(
1616
branch_inversion,
1717
"src/optimizations/test_data",
1818
{
19-
branch_inversion :"branch_inversion",
19+
branch_inversion: "branch_inversion",
2020
},
2121
test_branch_inversion
2222
);

crates/cairo-lang-lowering/src/optimizations/dedup_blocks_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cairo_lang_test_utils::test_file_test!(
1717
dedup_blocks,
1818
"src/optimizations/test_data",
1919
{
20-
dedup_blocks :"dedup_blocks",
20+
dedup_blocks: "dedup_blocks",
2121
},
2222
test_dedup_blocks
2323
);

crates/cairo-lang-lowering/src/optimizations/match_optimizer_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cairo_lang_test_utils::test_file_test!(
1717
"src/optimizations/test_data",
1818
{
1919
arm_pattern_destructure: "arm_pattern_destructure",
20-
match_optimization :"match_optimization",
20+
match_optimization: "match_optimization",
2121
},
2222
test_match_optimizer
2323
);

crates/cairo-lang-lowering/src/optimizations/reorder_statements_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cairo_lang_test_utils::test_file_test!(
1616
reorder_statements,
1717
"src/optimizations/test_data",
1818
{
19-
reorder_statements :"reorder_statements",
19+
reorder_statements: "reorder_statements",
2020
},
2121
test_reorder_statements
2222
);

crates/cairo-lang-lowering/src/test.rs

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,36 @@ cairo_lang_test_utils::test_file_test!(
2626
lowering,
2727
"src/test_data",
2828
{
29-
assignment :"assignment",
30-
call :"call",
31-
constant :"constant",
32-
coupon :"coupon",
33-
closure :"closure",
34-
cycles :"cycles",
35-
literal :"literal",
36-
destruct :"destruct",
37-
enums :"enums",
38-
error_propagate :"error_propagate",
39-
generics :"generics",
40-
extern_ :"extern",
41-
fixed_size_array :"fixed_size_array",
42-
arm_pattern_destructure :"arm_pattern_destructure",
43-
if_ :"if",
44-
implicits :"implicits",
45-
let_else :"let_else",
46-
logical_operator :"logical_operator",
47-
loop_ :"loop",
48-
match_ :"match",
49-
members :"members",
50-
panic :"panic",
51-
rebindings :"rebindings",
52-
snapshot :"snapshot",
53-
struct_ :"struct",
54-
tests :"tests",
55-
tuple :"tuple",
56-
strings :"strings",
57-
while_ :"while",
58-
for_ :"for",
29+
assignment: "assignment",
30+
call: "call",
31+
constant: "constant",
32+
coupon: "coupon",
33+
closure: "closure",
34+
cycles: "cycles",
35+
literal: "literal",
36+
destruct: "destruct",
37+
enums: "enums",
38+
error_propagate: "error_propagate",
39+
generics: "generics",
40+
extern_: "extern",
41+
fixed_size_array: "fixed_size_array",
42+
arm_pattern_destructure: "arm_pattern_destructure",
43+
if_: "if",
44+
implicits: "implicits",
45+
let_else: "let_else",
46+
logical_operator: "logical_operator",
47+
loop_: "loop",
48+
match_: "match",
49+
members: "members",
50+
panic: "panic",
51+
rebindings: "rebindings",
52+
snapshot: "snapshot",
53+
struct_: "struct",
54+
tests: "tests",
55+
tuple: "tuple",
56+
strings: "strings",
57+
while_: "while",
58+
for_: "for",
5959
},
6060
test_function_lowering
6161
);

0 commit comments

Comments
 (0)