mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Apply suggestion from @Piinks
This commit is contained in:
parent
939bf2ef90
commit
2e65d597d8
@ -405,7 +405,7 @@ void main() {
|
||||
test('Empty table intrinsic dimensions should not crash', () {
|
||||
// Test that empty tables (0 rows x 0 columns) don't cause division by zero
|
||||
// when intrinsic size methods are called with non-zero constraints.
|
||||
final RenderTable table = RenderTable(textDirection: TextDirection.ltr);
|
||||
final table = RenderTable(textDirection: TextDirection.ltr);
|
||||
|
||||
// Verify table is empty
|
||||
expect(table.rows, equals(0));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user