Skip to content

Commit

Permalink
pre-release version bump to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rspilker committed Jan 6, 2022
1 parent ec3075d commit 73e5337
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.2
* bugfixes
* flutter test would sometimes emit a \u0001 character, and now most control characters are xml-escaped
* use newlines instead of the text '\n\n'

## 2.0.1
* documentation update

Expand Down
7 changes: 2 additions & 5 deletions lib/src/impl/xml.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ final _highlyDiscouraged = RegExp(
'[\u0001-\u0008\u000b\u000c\u000e-\u001f\u007f-\u0084\u0086-\u009f]',
unicode: true);

String _mapDiscouraged(Match match) => match
.group(0)!
.codeUnits
.map((unit) => '&#$unit;')
.join();
String _mapDiscouraged(Match match) =>
match.group(0)!.codeUnits.map((unit) => '&#$unit;').join();

XmlName _name(String name) => XmlName.fromString(name);
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: junitreport
version: 2.0.2-dev
version: 2.0.2
description: Generate JUnit XML reports from dart test runs. Transforms the output of dart or flutter tests to
JUnit style XML

Expand Down

0 comments on commit 73e5337

Please sign in to comment.