From 48c3c458df11d9e15b3bd4aa986ecb757c01bb99 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 13 Jan 2025 14:27:39 -0600 Subject: [PATCH] [path] fix tests to compile/run with wasm (#851) --- pkgs/path/CHANGELOG.md | 2 ++ pkgs/path/pubspec.yaml | 3 ++- pkgs/path/test/browser_test.dart | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/path/CHANGELOG.md b/pkgs/path/CHANGELOG.md index c91afe16..0cdc59f2 100644 --- a/pkgs/path/CHANGELOG.md +++ b/pkgs/path/CHANGELOG.md @@ -1,3 +1,5 @@ +## 1.9.2-wip + ## 1.9.1 - Require Dart 3.4 diff --git a/pkgs/path/pubspec.yaml b/pkgs/path/pubspec.yaml index d9881279..792292ab 100644 --- a/pkgs/path/pubspec.yaml +++ b/pkgs/path/pubspec.yaml @@ -1,5 +1,5 @@ name: path -version: 1.9.1 +version: 1.9.2-wip description: A string-based path manipulation library. repository: https://github.com/dart-lang/core/tree/main/pkgs/path issue_tracker: https://github.com/dart-lang/core/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apath @@ -13,3 +13,4 @@ environment: dev_dependencies: dart_flutter_team_lints: ^3.0.0 test: ^1.16.6 + web: ^1.0.0 diff --git a/pkgs/path/test/browser_test.dart b/pkgs/path/test/browser_test.dart index cddd846d..e88b0c75 100644 --- a/pkgs/path/test/browser_test.dart +++ b/pkgs/path/test/browser_test.dart @@ -5,10 +5,9 @@ @TestOn('browser') library; -import 'dart:html'; - import 'package:path/path.dart' as path; import 'package:test/test.dart'; +import 'package:web/web.dart'; void main() { group('new Context()', () {