diff --git a/tests/web/wasm/uri_base_test.dart b/tests/web/wasm/uri_base_test.dart index 74c4252e20a..8e8b78d5e5b 100644 --- a/tests/web/wasm/uri_base_test.dart +++ b/tests/web/wasm/uri_base_test.dart @@ -2,6 +2,12 @@ // for details. 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:expect/expect.dart'; + void main() { - print(Uri.base.toFilePath()); // should not crash + final base = Uri.base; // should not crash + + // Tests are compiled to generated files in a directory that uses the test + // file name. + Expect.contains('uri_base_test', '$base'); } diff --git a/tests/web/web.status b/tests/web/web.status index 0724a8e2592..4a3bb8c532e 100644 --- a/tests/web/web.status +++ b/tests/web/web.status @@ -68,7 +68,6 @@ dart2js/code_motion_exception_test: Skip # Required V8 specific format of JavaSc [ $compiler == dart2wasm && $runtime != d8 ] wasm/source_map_simple_optimized_test: SkipByDesign # Reads source map file using d8's readbuffer wasm/source_map_simple_test: SkipByDesign # Reads source map file using d8's readbuffer -wasm/uri_base_test: SkipByDesign # Converts Uri.base to file path [ $compiler == dart2wasm && ($runtime == d8 || $runtime == jsc || $runtime == jsshell) ] wasm/multi_module_stress_test: SkipByDesign # DataView fails to load necessary input file.