Skip to content

Commit 218c506

Browse files
committed
Merge pull request #79 from manne/filesysteminfo_style
improved style in MockFileInfo.LastWriteTime
2 parents 8da344c + 250dc6a commit 218c506

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

TestingHelpers/MockFileInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ public override DateTime LastWriteTime
9595
{
9696
get
9797
{
98-
if (MockFileData == null) throw new FileNotFoundException("File not found", path);
99-
return MockFileData.LastWriteTime.DateTime;
100-
}
98+
if (MockFileData == null) throw new FileNotFoundException("File not found", path);
99+
return MockFileData.LastWriteTime.DateTime;
100+
}
101101
set { throw new NotImplementedException("This test helper hasn't been implemented yet. They are implemented on an as-needed basis. As it seems like you need it, now would be a great time to send us a pull request over at https://github.com/tathamoddie/System.IO.Abstractions. You know, because it's open source and all."); }
102102
}
103103

0 commit comments

Comments
 (0)