-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65d3246
commit cc85618
Showing
5 changed files
with
268 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
crates/cairo-lang-formatter/test_data/cairo_files/sort_inner_use.cairo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use std::collections::HashMap; | ||
use crate::utils::{a, b, d, c}; | ||
use b::{d, c, b, a}; | ||
use a::{d, b, a, c}; | ||
|
||
use a::{c,d}; | ||
use a::{d,b}; | ||
use aba; | ||
|
||
use a::{d, b as bee, c as cee, a}; | ||
use a::{d, b}; | ||
use a::{a as bc, a as ab}; |
12 changes: 12 additions & 0 deletions
12
crates/cairo-lang-formatter/test_data/expected_results/sort_inner_use.cairo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use a::{a, b, c, d}; | ||
|
||
use a::{a, b as bee, c as cee, d}; | ||
use a::{a as bc, a as ab}; | ||
use a::{b, d}; | ||
use a::{b, d}; | ||
|
||
use a::{c, d}; | ||
use aba; | ||
use b::{a, b, c, d}; | ||
use crate::utils::{a, b, c, d}; | ||
use std::collections::HashMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters