Fix web size test for new world (#34063)

This commit is contained in:
Jonah Williams 2019-06-07 13:52:04 -07:00 committed by GitHub
parent b847ba5a63
commit 4c0145d97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class WebCompileTest {
rmTree(sampleDir);
await inDirectory<void>(Directory.systemTemp, () async {
await flutter('create', options: <String>['--template=app', sampleAppName]);
await flutter('create', options: <String>['--template=app', '--web', sampleAppName]);
await inDirectory(sampleDir, () async {
await flutter('packages', options: <String>['get']);
await evalFlutter('build', options: <String>[

View File

@ -0,0 +1,12 @@
<!-- Copyright 2019 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. -->
<!DOCTYPE html>
<html>
<head>
<title>Hello, World</title>
</head>
<body>
<script src="main.dart.js"></script>
</body>
</html>