Coder Social home page Coder Social logo

Comments (6)

saintbrendan avatar saintbrendan commented on May 27, 2024

It looks like this specific problem can be solved by splitting on os.PathListSeparator instead of on ':'.

from counterfeiter.

tjarratt avatar tjarratt commented on May 27, 2024

It warms my heart that people using windows to write golang want to use counterfeiter. Thanks for taking the time to write up this beautiful description, and finding the source of the problem @saintbrendan -- I really appreciate it.

I applied the fix you suggested in 7f6ceee8bbe9189968c960e3593724a953b39151. Unfortunately I don't have access to a windows machine right now - any chance you'd be willing to check and see if the tests run (and pass ???) on Windows ?

from counterfeiter.

saintbrendan avatar saintbrendan commented on May 27, 2024

Thanks Tim. You're fast!
I'm swamped this week, but we'll try again this Saturday, and see how much further we get.

Thanks again!

from counterfeiter.

enchobelezirev avatar enchobelezirev commented on May 27, 2024

Hello,
When I tried to use it, I came to the following error: format.Node internal error (5:2: invalid import path: "github.com\SAP\cf-mta-plugin\clients\restclient") In my code, there is no import path with the following signature(\).

from counterfeiter.

tjarratt avatar tjarratt commented on May 27, 2024

@enchobelezirev Very Interesting. I don't think I'll be able to debug that very well, since that sounds really specific to your project. If you think you can create a reproducible test case for that, I'd be more than happy to either contribute a fix, or help you in submitting a PR and getting it merged in a timely fashion.

I'm also not entirely convinced that is related to this issue. Were you trying to run ./scripts/test.sh on a windows machine ? Could you walk me through some of the steps you took that resulted in that error being printed ?

from counterfeiter.

tjarratt avatar tjarratt commented on May 27, 2024

It looks like I was mistaken before. The error @enchobelezirev encountered is actually valid - there is some more discussion over in issue #79.

I believe this to be fixed on master - at least, I can no longer reproduce this in a windows vm I'm using. Going forward, I'm going to invest a bit this week in setting up CI for windows so that these issues are discovered automatically and not by the community. 😬

For now, I'd like to close this issue out, since I believe the original issue to be resolved. Please re-open this issue if I'm in error.

from counterfeiter.

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.