Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a raw string for console logging with path #2177

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pkgs/test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## 1.25.2

* Fix a bug running browser tests with paths containing windows directory
separator follow by a character which is an invalid Dart string escape
sequence.

## 1.25.1

* Fix a bug where in precompiled mode, html files for tests were no longer
created.

* Support the latest version of `package:js`.
* Document the silent reporter in CLI help output.

Expand Down
2 changes: 1 addition & 1 deletion pkgs/test/lib/src/runner/browser/compilers/dart2js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Dart2JsSupport extends CompilerSupport with JsHtmlWrapper {
import '${await absoluteUri(dartPath)}' as test;

void main() {
dom.window.console.log('Startup for test path $dartPath');
dom.window.console.log(r'Startup for test path $dartPath');
internalBootstrapBrowserTest(() => test.main);
}
''';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/test/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: test
version: 1.25.1
version: 1.25.2
description: >-
A full featured library for writing and running Dart tests across platforms.
repository: https://github.com/dart-lang/test/tree/master/pkgs/test
Expand Down
Loading