Skip to content

Commit 9eb2494

Browse files
committed
---
yaml --- r: 63036 b: refs/heads/snap-stage3 c: 7e62ad6 h: refs/heads/master v: v3
1 parent 66e6f98 commit 9eb2494

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 848dbc93ee88be407549619ae9df36f2aebc12fb
4+
refs/heads/snap-stage3: 7e62ad6876550e9a7de7f5e6039707f4a8e15f9b
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/run-pass/stat.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::uint;
2020

2121
pub fn main() {
2222
let dir = tempfile::mkdtemp(&Path("."), "").unwrap();
23-
let path = dir.with_filename("file");
23+
let path = dir.push("file");
2424

2525
{
2626
match io::file_writer(&path, [io::Create, io::Truncate]) {
@@ -36,5 +36,6 @@ pub fn main() {
3636
assert!(path.exists());
3737
assert_eq!(path.get_size(), Some(1000));
3838

39+
os::remove_file(&path);
3940
os::remove_dir(&dir);
4041
}

0 commit comments

Comments
 (0)