From 5b74f43bad0b66808b2339603e0f0d18c2aff405 Mon Sep 17 00:00:00 2001 From: Greg Littlefield Date: Fri, 1 May 2020 13:30:20 -0700 Subject: [PATCH] Fix propTypes tests --- .../constant_required_accessor_integration_test.dart | 4 ++-- .../constant_required_accessor_integration_test.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/over_react/component_declaration/builder_integration_tests/component2/constant_required_accessor_integration_test.dart b/test/over_react/component_declaration/builder_integration_tests/component2/constant_required_accessor_integration_test.dart index 0d5240dc4..150c4939b 100644 --- a/test/over_react/component_declaration/builder_integration_tests/component2/constant_required_accessor_integration_test.dart +++ b/test/over_react/component_declaration/builder_integration_tests/component2/constant_required_accessor_integration_test.dart @@ -99,7 +99,7 @@ void main() { ..required = true ..requiredAndLengthLimited = [1,2] )()); - }, logsPropError('ComponentTestProps.nullable')); + }, logsPropRequiredError('ComponentTestProps.nullable')); }); test('on re-render', () { @@ -120,7 +120,7 @@ void main() { ..required = true ..requiredAndLengthLimited = [1,2] )()); - }, logsPropError('ComponentTestProps.nullable')); + }, logsPropRequiredError('ComponentTestProps.nullable')); }); }); diff --git a/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/constant_required_accessor_integration_test.dart b/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/constant_required_accessor_integration_test.dart index 9cf44d415..47a101123 100644 --- a/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/constant_required_accessor_integration_test.dart +++ b/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/constant_required_accessor_integration_test.dart @@ -99,7 +99,7 @@ void main() { ..required = true ..requiredAndLengthLimited = [1,2] )()); - }, logsPropError('ComponentTestProps.nullable')); + }, logsPropRequiredError('ComponentTestProps.nullable')); }); test('on re-render', () { @@ -120,7 +120,7 @@ void main() { ..required = true ..requiredAndLengthLimited = [1,2] )()); - }, logsPropError('ComponentTestProps.nullable')); + }, logsPropRequiredError('ComponentTestProps.nullable')); }); });