Skip to content

Fix error handling. Add test.

Codecov / codecov/patch succeeded Oct 22, 2024 in 0s

69.47% of diff hit (target 88.00%)

View this Pull Request on Codecov

69.47% of diff hit (target 88.00%)

Annotations

Check warning on line 30 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L30

Added line #L30 was not covered by tests

Check warning on line 35 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L35

Added line #L35 was not covered by tests

Check warning on line 49 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L49

Added line #L49 was not covered by tests

Check warning on line 52 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L52

Added line #L52 was not covered by tests

Check warning on line 55 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L55

Added line #L55 was not covered by tests

Check warning on line 57 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L57

Added line #L57 was not covered by tests

Check warning on line 66 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L66

Added line #L66 was not covered by tests

Check warning on line 72 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L72

Added line #L72 was not covered by tests

Check warning on line 78 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L78

Added line #L78 was not covered by tests

Check warning on line 81 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L81

Added line #L81 was not covered by tests

Check warning on line 87 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L87

Added line #L87 was not covered by tests

Check warning on line 93 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L93

Added line #L93 was not covered by tests

Check warning on line 96 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L96

Added line #L96 was not covered by tests

Check warning on line 102 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L102

Added line #L102 was not covered by tests

Check warning on line 152 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 156 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 158 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L158

Added line #L158 was not covered by tests

Check warning on line 160 in src/uucore/src/lib/features/format/argument.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/argument.rs#L160

Added line #L160 was not covered by tests

Check warning on line 67 in src/uucore/src/lib/features/format/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/format/mod.rs#L67

Added line #L67 was not covered by tests