Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Nov 5, 2015
1 parent ba9dc28 commit 02d14b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('ReactPropTypes', function() {
typeCheckFail(
PropTypes.arrayOf({ foo: PropTypes.string }),
{ foo: 'bar' },
'Invalid argument `testProp` supplied to `testComponent`, expected valid PropType.'
'Property `testProp` of component `testComponent` has invalid PropType notation inside arrayOf.'
);
});

Expand Down Expand Up @@ -473,7 +473,7 @@ describe('ReactPropTypes', function() {
typeCheckFail(
PropTypes.objectOf({ foo: PropTypes.string }),
{ foo: 'bar' },
'Invalid argument `testProp` supplied to `testComponent`, expected valid PropType.'
'Property `testProp` of component `testComponent` has invalid PropType notation inside objectOf.'
);
});

Expand Down

0 comments on commit 02d14b3

Please sign in to comment.