fix propTypes.any.weak test

accidentally copied over `.string.weak` and didn't change it
This commit is contained in:
Cheng Lou 2014-01-12 20:40:17 -08:00 committed by Paul O’Shannessy
parent ddcab8be99
commit 3d47177596
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ describe('Union Types', function() {
});
it('should have a weak version that returns true/false', function() {
expect(typeCheck(Props.string.weak, null)()).toEqual(true);
expect(typeCheck(Props.any.weak, null)()).toEqual(true);
expect(typeCheck(Props.any.weak.isRequired, null)()).toEqual(false);
expect(typeCheck(Props.any.isRequired.weak, null)()).toEqual(false);
});