Skip to content

Commit

Permalink
direct the formatter to let the sorted IDs waste space
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Jan 6, 2024
1 parent 316805b commit c4be11b
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/local/object_id/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,28 @@ mod test {

// sorted first by id value (lowest first), then by the length of the string
// (shortest first)
#[rustfmt::skip]
const SORTED_IDS: &[&str] = &[
"0", "00", "000", "0000", "1", "01", "001", "0001", "2", "a", "f", "00f", "10", "010",
"0010", "100", "0100", "f00", "0f00", "1000",
"0",
"00",
"000",
"0000",
"1",
"01",
"001",
"0001",
"2",
"a",
"f",
"00f",
"10",
"010",
"0010",
"100",
"0100",
"f00",
"0f00",
"1000",
];

#[test]
Expand Down

0 comments on commit c4be11b

Please sign in to comment.