Permalink
Browse files

[tiny] Add past-tense verbiage

  • Loading branch information...
msluther committed Jun 13, 2018
1 parent 3346333 commit 6dc97db06ef3d2bc96ef13b881da39668e24010a
Showing with 9 additions and 1 deletion.
  1. +4 −0 README.md
  2. +1 −1 index.js
  3. +4 −0 test/assume.test.js
@@ -115,14 +115,18 @@ of chains:
- `be`
- `been`
- `is`
- `was`
- `and`
- `has`
- `have`
- `had`
- `with`
- `that`
- `at`
- `of`
- `some`
- `does`
- `did`
- `itself`
- `which`
@@ -157,7 +157,7 @@ function Assume(value, flags) {
this.value = value;
Assume.assign(this)('to, be, been, is, and, has, have, with, that, at, of, same, does, itself, which');
Assume.assign(this)('to, be, been, is, was, and, has, have, had, with, that, at, of, same, does, did, itself, which');
Assume.alias(value, this);
}
@@ -50,6 +50,10 @@ describe('Assume', function assertions() {
}
});
it('aliases chain properly', function() {
assume(1).is.to.be.been.is.was.and.has.have.had.with.that.at.of.same.does.did.itself.which.equals(1);
});
describe('#csliceStacklone', function () {
it('increases slice for each clone', function () {
var a = assume('x')

0 comments on commit 6dc97db

Please sign in to comment.