// 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'package:flutter_test/flutter_test.dart';import'package:flutter/gestures.dart';import'package:flutter/widgets.dart';voidmain(){testWidgets('toString control test',(WidgetTestertester)async{awaittester.pumpWidget(newCenter(child:newText('Hello')));HitTestResultresult=tester.hitTestOnBinding(Point.origin);expect(result,hasOneLineDescription);expect(result.path.first,hasOneLineDescription);});}