Skip to content

test: add test for cli parser

Codecov / codecov/patch failed May 9, 2024 in 0s

37.77% of diff hit (target 63.16%)

View this Pull Request on Codecov

37.77% of diff hit (target 63.16%)

Annotations

Check warning on line 97 in maa-cli/src/main.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/main.rs#L96-L97

Added lines #L96 - L97 were not covered by tests

Check warning on line 328 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L327-L328

Added lines #L327 - L328 were not covered by tests

Check warning on line 333 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L331-L333

Added lines #L331 - L333 were not covered by tests

Check warning on line 336 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L336

Added line #L336 was not covered by tests

Check warning on line 342 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L342

Added line #L342 was not covered by tests

Check warning on line 347 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L344-L347

Added lines #L344 - L347 were not covered by tests

Check warning on line 350 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L350

Added line #L350 was not covered by tests

Check warning on line 352 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L352

Added line #L352 was not covered by tests

Check warning on line 357 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L355-L357

Added lines #L355 - L357 were not covered by tests

Check warning on line 363 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L361-L363

Added lines #L361 - L363 were not covered by tests

Check warning on line 367 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L366-L367

Added lines #L366 - L367 were not covered by tests

Check warning on line 374 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L371-L374

Added lines #L371 - L374 were not covered by tests

Check warning on line 381 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L377-L381

Added lines #L377 - L381 were not covered by tests

Check warning on line 387 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L384-L387

Added lines #L384 - L387 were not covered by tests

Check warning on line 390 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L389-L390

Added lines #L389 - L390 were not covered by tests

Check warning on line 395 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L392-L395

Added lines #L392 - L395 were not covered by tests

Check warning on line 401 in maa-cli/src/run/callback/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/mod.rs#L399-L401

Added lines #L399 - L401 were not covered by tests

Check warning on line 120 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 287 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L285-L287

Added lines #L285 - L287 were not covered by tests

Check warning on line 289 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L289

Added line #L289 was not covered by tests

Check warning on line 295 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L293-L295

Added lines #L293 - L295 were not covered by tests

Check warning on line 297 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L297

Added line #L297 was not covered by tests

Check warning on line 310 in maa-cli/src/run/callback/summary.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

maa-cli/src/run/callback/summary.rs#L310

Added line #L310 was not covered by tests