Skip to content

Commit

Permalink
Merge pull request #17377 from ant-design/fix-test
Browse files Browse the repository at this point in the history
chore: update test case
  • Loading branch information
chenshuai2144 committed Jun 30, 2019
2 parents 859be32 + be33ebf commit 4d5dae0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/form/__tests__/message.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ describe('Form', () => {
return (
<Form>
<Form.Item label="Account">
{form.getFieldDecorator('account')(<input />)}
{form.getFieldDecorator('account')(<input />)}
{form.getFieldDecorator('field_1')(<input />)}
{form.getFieldDecorator('field_2')(<input />)}
</Form.Item>
</Form>
);
Expand All @@ -115,8 +115,8 @@ describe('Form', () => {
return (
<Form>
<Form.Item label="Account" help="custom help information">
{form.getFieldDecorator('account')(<input />)}
{form.getFieldDecorator('account')(<input />)}
{form.getFieldDecorator('field_1')(<input />)}
{form.getFieldDecorator('field_2')(<input />)}
</Form.Item>
</Form>
);
Expand Down

0 comments on commit 4d5dae0

Please sign in to comment.