Giter Site home page Giter Site logo

Comments (3)

AnakinRaW avatar AnakinRaW commented on June 2, 2024 1

Ok, i just double checked this, and i'm unsure how i ended up writing this issue 😶
I can't repro either...

Sorry for that one

from system.io.abstractions.

vbreuss avatar vbreuss commented on June 2, 2024

@AnakinRaW :
I am not able to reproduce your issue.

I created a test that runs against the real file system on all platforms (see Testably/Testably.Abstractions#442):

	[Fact]
	public void Reproduce_Issue1072()
	{
		FileSystem.File.WriteAllText("file", ""); // This file exists to distract the mocking file system.

		var fi = FileSystem.FileInfo.New("file/"); // fi created from a directory path.

		fi.Name.Should().Be(string.Empty);
		fi.Exists.Should().BeTrue();
	}

The test only passes after I changed the last line to test that fi.Exists is true and then it passes on all platforms.

Can you please help me, reproducing this issue?

from system.io.abstractions.

fgreinacher avatar fgreinacher commented on June 2, 2024

Ok, i just double checked this, and i'm unsure how i ended up writing this issue 😶 I can't repro either...

Sorry for that one

No worries, feel free to reopen if needed!

from system.io.abstractions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.