Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

create tests for switch color on card when light is turned off #58

Open
remonh87 opened this issue Mar 29, 2018 · 0 comments
Open

create tests for switch color on card when light is turned off #58

remonh87 opened this issue Mar 29, 2018 · 0 comments

Comments

@remonh87
Copy link
Owner

should be sth like this:

testWidgets('should handle having no title', (WidgetTester tester) async {
final Title widget = new Title(
child: new Container(),
color: const Color(0xFF00FF00),
);
expect(widget.toString, isNot(throwsException));
expect(widget.title, equals(''));
expect(widget.color, equals(const Color(0xFF00FF00)));
});

@remonh87 remonh87 added bug Something isn't working new feature request and removed bug Something isn't working labels Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant