Skip to content

Add a CaptureOutput function to trap stdout and stderr

Codecov / codecov/patch failed Jan 18, 2024 in 1s

80.64% of diff hit (target 96.80%)

View this Pull Request on Codecov

80.64% of diff hit (target 96.80%)

Annotations

Check warning on line 236 in test.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test.go#L235-L236

Added lines #L235 - L236 were not covered by tests

Check warning on line 241 in test.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test.go#L240-L241

Added lines #L240 - L241 were not covered by tests

Check warning on line 262 in test.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test.go#L261-L262

Added lines #L261 - L262 were not covered by tests

Check warning on line 274 in test.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test.go#L273-L274

Added lines #L273 - L274 were not covered by tests