Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add LinkTarget to IFileSystemInfo #795

Merged

Conversation

BrianMcBrayer
Copy link
Contributor

In #790 we added LinkTarget to FileSystemInfoBase, but I forgot to also add it to the interface (which was the whole point in the first place).

So this is embarrassing, but also it will allow LinkTarget to be used and mocked.

@BrianMcBrayer BrianMcBrayer changed the title Add LinkTarget to IFileSystemInfo feat: Add LinkTarget to IFileSystemInfo Jan 12, 2022
@BrianMcBrayer
Copy link
Contributor Author

@fgreinacher I missed this during my last PR. Sorry!

@BrianMcBrayer
Copy link
Contributor Author

On a related note, I do not think the tests are testing using .net6, or else they would have blown up (I think). Taking a look.

@fgreinacher fgreinacher changed the title feat: Add LinkTarget to IFileSystemInfo fix: add LinkTarget to IFileSystemInfo Jan 12, 2022
@fgreinacher fgreinacher merged commit c25a176 into TestableIO:main Jan 12, 2022
@fgreinacher
Copy link
Contributor

fgreinacher commented Jan 12, 2022

Thanks @BrianMcBrayer!

The tests are indeed running against .NET 6, but they don't assert that interfaces and base classes are equivalent. Might be something to improve 🤔

@github-actions
Copy link

This is addressed in release v16.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: released Issues that are released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants