Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

Commit fb5c23c

Browse files
authored
Merge pull request #16 from romankl/test-fixme
test: remove old fixme from the tests
2 parents 1b5826e + 03d8389 commit fb5c23c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/smoke.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ fn test_rm_tempdir() {
6969
let f = move || {
7070
t!(TempDir::new("test_rm_tempdir"))
7171
};
72-
// FIXME(#16640) `: TempDir` annotation shouldn't be necessary
73-
let tmp: TempDir = thread::spawn(f).join().unwrap();
72+
73+
let tmp = thread::spawn(f).join().unwrap();
7474
path = tmp.path().to_path_buf();
7575
assert!(path.exists());
7676
}
@@ -113,8 +113,8 @@ fn test_rm_tempdir_close() {
113113
let f = move || {
114114
t!(TempDir::new("test_rm_tempdir"))
115115
};
116-
// FIXME(#16640) `: TempDir` annotation shouldn't be necessary
117-
let tmp: TempDir = thread::spawn(f).join().unwrap();
116+
117+
let tmp = thread::spawn(f).join().unwrap();
118118
path = tmp.path().to_path_buf();
119119
assert!(path.exists());
120120
t!(tmp.close());

0 commit comments

Comments
 (0)