We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bc04a commit 4539c51Copy full SHA for 4539c51
src/unix/tempdir.rs
@@ -144,6 +144,7 @@ mod tests {
144
let path = t.as_path();
145
assert!(path.exists());
146
assert!(path.is_dir());
147
+ #[cfg(not(target_os = "macos"))]
148
assert!(path.starts_with(temp_dir()));
149
}
150
@@ -185,12 +186,14 @@ mod tests {
185
186
187
188
189
190
assert!(path.starts_with("/tmp/"));
191
192
let t = TempDir::new_in(Path::new("/tmp")).unwrap();
193
194
195
196
197
assert!(path.starts_with("/tmp"));
198
199
0 commit comments