Skip to content

fix: add LinkTarget to IFileSystemInfo - #795

Merged
fgreinacher merged 2 commits into
TestableIO:mainfrom
BrianMcBrayer:feature/add-linktarget-to-interfaces
Jan 12, 2022
Merged

fix: add LinkTarget to IFileSystemInfo#795
fgreinacher merged 2 commits into
TestableIO:mainfrom
BrianMcBrayer:feature/add-linktarget-to-interfaces

Conversation

@BrianMcBrayer

Copy link
Copy Markdown
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.

@BrianMcBrayerBrianMcBrayer changed the title Add LinkTarget to IFileSystemInfofeat: Add LinkTarget to IFileSystemInfoJan 12, 2022
@BrianMcBrayer

Copy link
Copy Markdown
ContributorAuthor

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

@BrianMcBrayer

Copy link
Copy Markdown
ContributorAuthor

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.

@fgreinacherfgreinacher changed the title feat: Add LinkTarget to IFileSystemInfofix: add LinkTarget to IFileSystemInfoJan 12, 2022
@fgreinacher
fgreinacher merged commit c25a176 into TestableIO:mainJan 12, 2022
@fgreinacher

fgreinacher commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

This is addressed in release v16.1.2.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: releasedIssues that are released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@BrianMcBrayer@fgreinacher