Skip to content

Commit 1d494be

Browse files
committed
cargo fmt
1 parent b53dc59 commit 1d494be

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

p3-rou/tests/lib.rs

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,22 @@ fn simple_route() {
3434
fn test_serialize1() {
3535
let _ = simple_logger::SimpleLogger::new().with_level(LevelFilter::Debug).env().init();
3636
let rou = TradeRouteFile {
37-
stops: vec![TradeRouteStop {
38-
town_index: 0,
39-
action: 0,
40-
order: DEFAULT_ORDER,
41-
price: [400; 24],
42-
amount: [2000; 24],
43-
},TradeRouteStop {
44-
town_index: 1,
45-
action: 0,
46-
order: DEFAULT_ORDER,
47-
price: [300; 24],
48-
amount: [2000; 24],
49-
}],
37+
stops: vec![
38+
TradeRouteStop {
39+
town_index: 0,
40+
action: 0,
41+
order: DEFAULT_ORDER,
42+
price: [400; 24],
43+
amount: [2000; 24],
44+
},
45+
TradeRouteStop {
46+
town_index: 1,
47+
action: 0,
48+
order: DEFAULT_ORDER,
49+
price: [300; 24],
50+
amount: [2000; 24],
51+
},
52+
],
5053
};
5154

5255
let data = rou.serialize();

0 commit comments

Comments
 (0)