Skip to content

fix: Updated MockDirectoryInfo.Name to be consistent with DirectoryInfo.Name#715

Merged
fgreinacher merged 1 commit intoTestableIO:mainfrom
JordanBowker:fix/mock-directory-info-name-inconsistency
Mar 14, 2021
Merged

fix: Updated MockDirectoryInfo.Name to be consistent with DirectoryInfo.Name#715
fgreinacher merged 1 commit intoTestableIO:mainfrom
JordanBowker:fix/mock-directory-info-name-inconsistency

Conversation

@JordanBowker
Copy link
Copy Markdown

Fixes #697. When constructed with only the root; MockDirectoryInfo.Name now returns the the root value instead of an empty string. Making it consistent with DirectoryInfo.Name.

Fixes TestableIO#697. When constructed with only the root; MockDirectoryInfo.Name now returns the the root value instead of an empty string. Making it consistent with DirectoryInfo.Name.
@JordanBowker JordanBowker changed the title Fix #697 fix: Updated MockDirectoryInfo.Name to be consistent with DirectoryInfo.Name Mar 13, 2021
@fgreinacher fgreinacher merged commit c89aa09 into TestableIO:main Mar 14, 2021
@fgreinacher
Copy link
Copy Markdown
Contributor

Thanks!

@github-actions
Copy link
Copy Markdown

This is addressed in release v13.2.27.

@github-actions github-actions Bot added the state: released Issues that are released label Mar 25, 2021
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.

DirectoryInfo.Name returns different result for root path between mock and real file system

2 participants