Skip to content

Commit

Permalink
test: fix failing test (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore committed Jun 24, 2017
1 parent a7778e5 commit c8b77df
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ install:
test_script:
- node --version
- npm --version
- npm run ci
- npm run test

build: off
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
},
"devDependencies": {
"autod": "^2.8.0",
"egg": "^1.4.0",
"egg-bin": "^3.4.2",
"egg-ci": "^1.7.0",
"egg-mock": "^3.7.2",
"egg": "^1.5.0",
"egg-bin": "^4.0.4",
"egg-ci": "^1.8.0",
"egg-mock": "^3.8.0",
"eslint": "^3.19.0",
"eslint-config-egg": "^4.2.0",
"eslint-config-egg": "^4.2.1",
"formstream": "^1.1.0",
"is-type-of": "^1.0.0",
"mkdirp": "^0.5.1",
Expand Down
4 changes: 2 additions & 2 deletions test/multipart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ describe('test/multipart.test.js', () => {
});

assert(res.status === 400);
assert(res.data.toString().includes('Can't found upload file'));
assert(res.data.toString().includes('Can\'t found upload file'));
});

it('should 400 when no file speicified', function* () {
Expand All @@ -417,7 +417,7 @@ describe('test/multipart.test.js', () => {
stream: form,
});
assert(res.status === 400);
assert(res.data.toString().includes('Can't found upload file'));
assert(res.data.toString().includes('Can\'t found upload file'));
});
});

Expand Down

1 comment on commit c8b77df

@fengmk2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.