refactor(seq): format variable assignment on single line
Simplify code formatting by placing the 'ignored' variable assignment on a single line, improving readability without altering functionality.
1915ad3
4 days ago
by mattsu2020
+0.01%
test(seq): add test for SIGPIPE handling in seq
Add a new test to verify that on Unix systems, when SIGPIPE is ignored, seq properly reports a write error ("Broken pipe") and exits with code 1 when its output is piped to head. This ensures robust behavior in piping scenarios.
68ef63a
4 days ago
by mattsu2020
+0.01%
refactor(tests): format seq test script and add Unix-gated imports
- Split long script string in test_sigpipe_ignored_reports_write_error using concat! for improved readability
- Added #[cfg(unix)] attributes to TestScenario and util_name imports to restrict to Unix platforms, where SIGPIPE handling is applicable
bfe30c8
4 days ago
by mattsu2020
-3.15%
refactor(test): simplify code formatting in seq SIGPIPE test
- Combined multi-line string assignment and method chaining into single lines for conciseness and improved readability in test_sigpipe_ignored_reports_write_error.