From 02d14b306bdca9ed8a904620e0ae3142d48b0395 Mon Sep 17 00:00:00 2001 From: chico Date: Thu, 5 Nov 2015 06:11:52 +0300 Subject: [PATCH] fix tests --- src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js b/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js index 1b6512c16892c..e626f99131cb6 100644 --- a/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js +++ b/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js @@ -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.' ); }); @@ -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.' ); });