Skip to content

Commit

Permalink
Update test/over_react/component_declaration/builder_integration_test…
Browse files Browse the repository at this point in the history
…s/new_boilerplate/function_component_test.dart

Co-authored-by: Greg Littlefield <greg.littlefield@workiva.com>
  • Loading branch information
kealjones-wk and greglittlefield-wf authored Aug 14, 2023
1 parent 6bfad61 commit cfd533e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ testPropsToForward({UiFactory<TestProps> factory, bool modifyProps = false}) {

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(exclude: null, props: initialProps, factory: factory, modifyProps: modifyProps),
throwsA(isA<AssertionError>()));
throwsA(isA<AssertionError>().having('toString value', (e) => e.toString(), contains('If this is not a props mixin, you need to specify its mixins as the second argument')));
}, tags: 'ddc');
});
}
Expand Down

0 comments on commit cfd533e

Please sign in to comment.