Skip to content

Commit

Permalink
Fix propTypes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed May 1, 2020
1 parent c97470a commit 5b74f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void main() {
..required = true
..requiredAndLengthLimited = [1,2]
)());
}, logsPropError('ComponentTestProps.nullable'));
}, logsPropRequiredError('ComponentTestProps.nullable'));
});

test('on re-render', () {
Expand All @@ -120,7 +120,7 @@ void main() {
..required = true
..requiredAndLengthLimited = [1,2]
)());
}, logsPropError('ComponentTestProps.nullable'));
}, logsPropRequiredError('ComponentTestProps.nullable'));
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void main() {
..required = true
..requiredAndLengthLimited = [1,2]
)());
}, logsPropError('ComponentTestProps.nullable'));
}, logsPropRequiredError('ComponentTestProps.nullable'));
});

test('on re-render', () {
Expand All @@ -120,7 +120,7 @@ void main() {
..required = true
..requiredAndLengthLimited = [1,2]
)());
}, logsPropError('ComponentTestProps.nullable'));
}, logsPropRequiredError('ComponentTestProps.nullable'));
});
});

Expand Down

0 comments on commit 5b74f43

Please sign in to comment.