Skip to content

Commit cb47341

Browse files
committed
Debugging for a test.
1 parent c0e61ed commit cb47341

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/windows-open.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,11 @@ fn windows_open_special() {
153153
".ext.more. ",
154154
".ext.more .",
155155
] {
156+
let name = format!("{}{}{}", prefix, device, suffix);
157+
eprintln!("testing '{}'", name);
158+
156159
match tmpdir
157-
.open(&format!("{}{}{}", prefix, device, suffix))
160+
.open(&name)
158161
.unwrap_err()
159162
.kind()
160163
{
@@ -165,7 +168,7 @@ fn windows_open_special() {
165168
let mut options = cap_std::fs::OpenOptions::new();
166169
options.write(true);
167170
match tmpdir
168-
.open_with(&format!("{}{}{}", prefix, device, suffix), &options)
171+
.open_with(&name, &options)
169172
.unwrap_err()
170173
.kind()
171174
{
@@ -174,7 +177,7 @@ fn windows_open_special() {
174177
}
175178

176179
match tmpdir
177-
.create(&format!("{}{}{}", prefix, device, suffix))
180+
.create(&name)
178181
.unwrap_err()
179182
.kind()
180183
{

0 commit comments

Comments
 (0)