Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Conversation

@steelywing
Copy link
Contributor

you forget use .to.be() =)
and fix escape the single quotes to '

@blueimp
Copy link
Owner

blueimp commented Jun 29, 2014

Sorry but what where you trying to fix?
The tests run through successful in both Node (via mocha), PhantomJS (via simple mocha) and desktop browsers.

@blueimp blueimp closed this Jun 29, 2014
@steelywing
Copy link
Contributor Author

@blueimp You could try add a test expect(1, 0), that will NOT fail the test, only expect(1).to.be(0) will, expect(1, 0) actually do nothing.
and tmpl('\'single quotes\'{%=": \'"%}', data) will return escaped ', not '.

@blueimp blueimp reopened this Jul 2, 2014
blueimp added a commit that referenced this pull request Jul 2, 2014
@blueimp blueimp merged commit aa33f95 into blueimp:master Jul 2, 2014
@blueimp
Copy link
Owner

blueimp commented Jul 2, 2014

You are of course correct. Thanks for your contribution.

@steelywing steelywing deleted the patch-1 branch July 3, 2014 01:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants