From 31a9bade111caec71fe324dc305ab12117eff6a2 Mon Sep 17 00:00:00 2001 From: kealjones-wk <41018730+kealjones-wk@users.noreply.github.com> Date: Wed, 9 Aug 2023 08:44:33 -0700 Subject: [PATCH] fix error test --- .../new_boilerplate/function_component_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/function_component_test.dart b/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/function_component_test.dart index b5599ebfc..088ad50d9 100644 --- a/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/function_component_test.dart +++ b/test/over_react/component_declaration/builder_integration_tests/new_boilerplate/function_component_test.dart @@ -409,8 +409,8 @@ testPropsToForward({UiFactory factory, bool modifyProps = false}) { }); }); - test('throws an error when not providing an exclude argument and the props class is NOT a mixin', () { - expect(() => _propsToForward(domOnly: true, props: initialProps, factory: factory, modifyProps: modifyProps), + test('which throws an error when not providing an exclude argument and the props class is NOT a mixin and `domOnly` is NOT `true`', () { + expect(() => _propsToForward(props: initialProps, factory: factory, modifyProps: modifyProps), throwsArgumentError); }); });