Skip to content

Commit 5754bcf

Browse files
Fix lint.
1 parent a58ff1f commit 5754bcf

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

console_backend/src/main_tab.rs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -311,29 +311,29 @@ mod tests {
311311

312312
let msg = MsgPosLLH {
313313
sender_id,
314-
flags,
314+
tow,
315315
lat,
316316
lon,
317317
height,
318-
n_sats,
319318
h_accuracy,
320319
v_accuracy,
321-
tow,
320+
n_sats,
321+
flags,
322322
};
323323

324324
let n = 1;
325325
let e = 2;
326326
let d = 3;
327327
let msg_two = MsgVelNED {
328328
sender_id,
329-
flags,
329+
tow,
330330
n,
331331
e,
332332
d,
333+
h_accuracy,
334+
v_accuracy,
333335
n_sats,
334-
tow,
335-
h_accuracy: 0,
336-
v_accuracy: 0,
336+
flags,
337337
};
338338

339339
{
@@ -406,29 +406,29 @@ mod tests {
406406

407407
let msg_one = MsgPosLLH {
408408
sender_id,
409-
flags,
409+
tow,
410410
lat,
411411
lon,
412412
height,
413-
n_sats,
414413
h_accuracy,
415414
v_accuracy,
416-
tow,
415+
n_sats,
416+
flags,
417417
};
418418

419419
let n = 1;
420420
let e = 2;
421421
let d = 3;
422422
let msg_two = MsgVelNED {
423423
sender_id,
424-
flags,
424+
tow,
425425
n,
426426
e,
427427
d,
428+
h_accuracy,
429+
v_accuracy,
428430
n_sats,
429-
tow,
430-
h_accuracy: 0,
431-
v_accuracy: 0,
431+
flags,
432432
};
433433

434434
{
@@ -496,29 +496,29 @@ mod tests {
496496

497497
let msg_one = MsgPosLLH {
498498
sender_id,
499-
flags,
499+
tow,
500500
lat,
501501
lon,
502502
height,
503-
n_sats,
504503
h_accuracy,
505504
v_accuracy,
506-
tow,
505+
n_sats,
506+
flags,
507507
};
508508

509509
let n = 1;
510510
let e = 2;
511511
let d = 3;
512512
let msg_two = MsgVelNED {
513513
sender_id,
514-
flags,
514+
tow,
515515
n,
516516
e,
517517
d,
518+
h_accuracy,
519+
v_accuracy,
518520
n_sats,
519-
tow,
520-
h_accuracy: 0,
521-
v_accuracy: 0,
521+
flags,
522522
};
523523

524524
{

0 commit comments

Comments
 (0)