mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
fixing warnings and nits on the tests
This commit is contained in:
@ -41,7 +41,7 @@ void main() {
|
||||
expect(c.toRect().width, 2.0);
|
||||
expect(c.toRect().height, 2.0);
|
||||
|
||||
c.setByRect(Rect.fromLTWH(10.0, 10.0, 1.0, 1.0));
|
||||
c.setByRect(const Rect.fromLTWH(10.0, 10.0, 1.0, 1.0));
|
||||
expect(c.x, 10.0);
|
||||
expect(c.y, 10.0);
|
||||
expect(c.width, 1.0);
|
||||
|
||||
Reference in New Issue
Block a user