Skip to content

Commit

Permalink
fix: windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Jan 3, 2024
1 parent 0a4ca1e commit 1aaa67d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion frb_example/pure_dart/test/api/exception_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ Future<void> main({bool skipRustLibInit = false}) async {
});

group('has backtraces', skip: kIsWeb, () {
final matcher = anyOf(contains('.rs'), contains('::'));
final matcher =
anyOf(contains('.rs'), contains('::'), contains('<unknown>'));

test('when error (Result::Err)', () async {
await expectLater(
Expand Down

0 comments on commit 1aaa67d

Please sign in to comment.