1+ // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
2+ // for details. All rights reserved. Use of this source code is governed by a
3+ // BSD-style license that can be found in the LICENSE file.
4+
15import 'dart:io' ;
26
37import 'package:collection/collection.dart' ;
@@ -18,27 +22,27 @@ void main() {
1822 final debug = false ;
1923
2024 final testRunner = TestRunner ();
21- late String soundExampleDirectory ;
25+ late String exampleDirectory ;
2226
2327 setUpAll (() async {
2428 configureLogWriter (debug);
2529 await testRunner.setUpAll ();
26- soundExampleDirectory = p.absolute (
27- p.join (p.current, '..' , 'fixtures' , '_testTlsHostnameSound ' ));
30+ exampleDirectory = p.absolute (
31+ p.join (p.current, '..' , 'fixtures' , '_experimentSound ' ));
2832
2933 final process = await TestProcess .start (
3034 'dart' ,
3135 ['pub' , 'upgrade' ],
32- workingDirectory: soundExampleDirectory ,
36+ workingDirectory: exampleDirectory ,
3337 environment: getPubEnvironment (),
3438 );
3539
3640 await process.shouldExit (0 );
3741
3842 await d
3943 .file ('.dart_tool/package_config.json' , isNotEmpty)
40- .validate (soundExampleDirectory );
41- await d.file ('pubspec.lock' , isNotEmpty).validate (soundExampleDirectory );
44+ .validate (exampleDirectory );
45+ await d.file ('pubspec.lock' , isNotEmpty).validate (exampleDirectory );
4246 });
4347
4448 test ('listens on a loopback interface' , () async {
@@ -52,7 +56,7 @@ void main() {
5256 ];
5357
5458 final process = await testRunner.runWebDev (args,
55- workingDirectory: soundExampleDirectory );
59+ workingDirectory: exampleDirectory );
5660 await expectLater (process.stdout, emitsThrough (contains ('Succeeded' )));
5761
5862 final client = HttpClient ()
@@ -81,7 +85,7 @@ void main() {
8185 ];
8286
8387 final process = await testRunner.runWebDev (args,
84- workingDirectory: soundExampleDirectory );
88+ workingDirectory: exampleDirectory );
8589 await expectLater (process.stdout, emitsThrough (contains ('Succeeded' )));
8690
8791 final interfaces = await NetworkInterface .list (
0 commit comments