Skip to content

Commit

Permalink
[fix] #1037 Make tests pass on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
c-geek committed Jul 25, 2017
1 parent 42c1281 commit f0c05b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/cli.js
Expand Up @@ -117,8 +117,8 @@ describe("CLI", function() {

it('config --autoconf', () => co(function*() {
let res = yield execute(['config', '--autoconf']);
res.should.have.property("ipv4").not.equal("a wrong string");
res.should.have.property("ipv4").match(constants.IPV4_REGEXP);
res.should.have.property("pair").property('pub').not.equal("");
res.should.have.property("pair").property('sec').not.equal("");
}));

it('reset data', () => co(function*() {
Expand Down

0 comments on commit f0c05b0

Please sign in to comment.