Skip to content

Commit 48c3c45

Browse files
authored
[path] fix tests to compile/run with wasm (#851)
1 parent 2ac228b commit 48c3c45

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pkgs/path/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 1.9.2-wip
2+
13
## 1.9.1
24

35
- Require Dart 3.4

pkgs/path/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: path
2-
version: 1.9.1
2+
version: 1.9.2-wip
33
description: A string-based path manipulation library.
44
repository: https://github.com/dart-lang/core/tree/main/pkgs/path
55
issue_tracker: https://github.com/dart-lang/core/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apath
@@ -13,3 +13,4 @@ environment:
1313
dev_dependencies:
1414
dart_flutter_team_lints: ^3.0.0
1515
test: ^1.16.6
16+
web: ^1.0.0

pkgs/path/test/browser_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
@TestOn('browser')
66
library;
77

8-
import 'dart:html';
9-
108
import 'package:path/path.dart' as path;
119
import 'package:test/test.dart';
10+
import 'package:web/web.dart';
1211

1312
void main() {
1413
group('new Context()', () {

0 commit comments

Comments
 (0)