GithubHelp home page GithubHelp logo

Comments (9)

retorquere avatar retorquere commented on August 15, 2024

I'm on OSX, but I'd strongly prefer eol=lf on all text files.

I just ran dos2unix on all my bib files, and there were no changes.

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

Even after running dos2unix, locally all my tests pass (no changes to the json)

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

And do the tests now fail for you?

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

Maybe something in the way you created the expected test output added the \r?

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

uh yes, now they do. Which is weird, because none of the JSON files contain \r\n, and the .bib files have gone through dos2unix.

The error formatting is a problem though; the results is just a big wall of text. Do you know if there's a way to make the test...deepEquals return something a little more readable?

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

No, not really. It's the first time I try ava.

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

Maybe your node instance is set up to create those line endings. What node version do you run this on? Both me locally and on travis we are on 6.x, I believe.

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

One of the text files had a mix of \r\n and \n and it looks like that confused dos2unix. Fixed that and my tests run green again.

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

I'm on node 7.2.0

from biblatex-csl-converter.

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.