Skip to content

Commit

Permalink
fix error test
Browse files Browse the repository at this point in the history
  • Loading branch information
kealjones-wk committed Aug 9, 2023
1 parent fb07ac0 commit 31a9bad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ testPropsToForward({UiFactory<TestProps> 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);
});
});
Expand Down

0 comments on commit 31a9bad

Please sign in to comment.