Comments (5)
personally no, because if you're writing say an HTTP lib you would explicitly want CRLF, or SMTP etc
from should.js.
it's more an issue of Mocha (and friends) displaying the difference poorly haha, especially mocha's diffs right now
from should.js.
OK, failing that, you could add an ignore line endings option? It is often the case (say when rendering templates etc.)
from should.js.
meh I dont think it's a concern for should, I've done things like foo.should.equal(bar.trim())
of course, but it's easy to do those sorts of things without modifying should in strange opinionated ways
from should.js.
Fair enuf
from should.js.
Related Issues (20)
- Fails to compare two objects with booleans? HOT 4
- Too generic error message in custom assertion HOT 2
- Please remove the registry of bower HOT 4
- .exist() for syntactic consistency HOT 2
- greater equal always fails HOT 1
- move repo to "shouldjs" org
- How to assert if string is lexicographical after/before ? HOT 1
- Assertion Error location is wrong
- ('hui').should.be.a.Number; - passing test HOT 2
- true.should.be.false is passing HOT 1
- Why {false.should.be.ok} can pass test HOT 2
- Modify the README.md
- How to assert date having ISO 8601 format HOT 3
- Cannot figure out what's wrong with '.keys()' method
- Exist function doesn't work in as-function mode
- Issue with Typescript
- propteries() fails when passing custom error message
- `rejectedWith` Gives GIANT unreadable message (for humans) when fails
- DeepEqual Tests failing for identical Sets
- IMPROVING TESTING ROBUSTNESS IN HANDLING AND GENERATING "Access-Control-Allow-Headers" HEADER
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from should.js.