Commit fde6b0a4 authored by Adam Barth's avatar Adam Barth

Add a test for #833

This test just exercises Align to make sure it can sync.
parent 32aa4628
import 'package:sky/widgets.dart';
import 'package:test/test.dart';
import 'build_utils.dart';
void main() {
test('Global key mutate during iteration', () {
WidgetTester tester = new WidgetTester();
tester.pumpFrame(() {
return new Align(
child: new Container(),
horizontal: 0.75,
vertical: 0.75
);
});
tester.pumpFrame(() {
return new Align(
child: new Container(),
horizontal: 0.5,
vertical: 0.5
);
});
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment