File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
fixtures/_testHotReload/lib Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ void main() {
4343 }
4444
4545 void undoEdit () {
46- context.makeEditToDartEntryFile (
46+ context.makeEditToDartLibFile (
47+ libFileName: 'library1.dart' ,
4748 toReplace: newString,
4849 replaceWith: originalString,
4950 );
@@ -66,8 +67,8 @@ void main() {
6667 });
6768
6869 tearDown (() async {
69- await context.tearDown ();
7070 undoEdit ();
71+ await context.tearDown ();
7172 });
7273
7374 test ('can hot reload' , () async {
Original file line number Diff line number Diff line change 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
5- String get reloadValue => 'Bonjour le monde !' ;
5+ String get reloadValue => 'Hello World !' ;
You can’t perform that action at this time.
0 commit comments