summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-09-04 08:26:57 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-09-04 08:28:04 +0100
commitc3ff44c80b699bae3ecd8a878eeeee18220045c7 (patch)
treeed2ca78428dbad36e02c398734a3d2adad72be2f
parent97c4ca2ccb129c89fd9c049596b1c3c382646c0e (diff)
downloadnix-c3ff44c80b699bae3ecd8a878eeeee18220045c7.zip
test/test_stat.rs: test correct stat function
-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);