Commit a1cd9b8
Add test for tar_dir error path
Added a new test case `test_tar_dir_error_path` to `stdlib/tests/stdlib_tests.rs`
to verify that `compress::tar_dir` correctly returns an error when passed an
invalid source path. The test safely creates a temporary directory for output
to avoid leaving uncleaned artifacts in `/tmp`.
Co-authored-by: Tcode-Motion <188012755+Tcode-Motion@users.noreply.github.com>1 parent 3b2e1b2 commit a1cd9b8
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
0 commit comments