summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_stat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_stat.rs b/test/test_stat.rs
index 765d4fa1..9c602060 100644
--- a/test/test_stat.rs
+++ b/test/test_stat.rs
@@ -101,7 +101,7 @@ fn test_stat_fstat_lstat() {
// should be the same result as calling stat,
// since it's a regular file
- let stat_result = lstat(&filename);
+ let stat_result = stat(&filename);
assert_stat_results(stat_result);
let lstat_result = lstat(&linkname);