mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

...by adding tests to our examples that don't import flutter_test, which pins the relevant dependencies. Also, provide more information when complaining about leaked transient callbacks in tests. Also, make tests display full information when they have an exception, by bypassing the throttling we have for Android logging in tests. Also, make the word wrapping not wrap stack traces if they happen to be included in exception output. Also, fix a leaked transient callback in the checkbox code.
13 lines
357 B
Dart
13 lines
357 B
Dart
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import '../rendering/src/sector_layout.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
test('SectorConstraints', () {
|
|
expect(const SectorConstraints().isTight, isFalse);
|
|
});
|
|
}
|