1// Copyright 2019 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5import 'package:flutter/widgets.dart'; 6import 'package:flutter_test/flutter_test.dart'; 7 8void main() { 9 testWidgets('Rendering Error', (WidgetTester tester) async { 10 // Assets can load with its package name. 11 await tester.pumpWidget( 12 Image.asset('icon/test.png', 13 width: 54, 14 height: 54, 15 fit: BoxFit.none, 16 package: 'flutter_automated_tests' 17 ), 18 ); 19 }); 20} 21