Skip to content

Commit

Permalink
Remove exclusive: false parameter in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhnroyal committed Apr 4, 2024
1 parent 1c2843a commit 87697d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ doc/api/

.vscode/

# FVM
.fvm
.fvmrc

# Miscellaneous
.DS_Store
.melos*packages
Expand All @@ -27,4 +23,12 @@ doc/api/
!/.idea/dio.iml
!/.idea/modules.xml

# Coverage
coverage

# Melos
melos_overrides.yaml

# FVM Version Cache
.fvm/
.fvmrc
4 changes: 2 additions & 2 deletions dio_test/lib/src/test/upload_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void uploadTests(
addTearDown(() => tmp.deleteSync(recursive: true));

final f = File(p.join(tmp.path, 'flutter.png'));
f.createSync(exclusive: false);
f.createSync();
f.writeAsBytesSync(base64Decode(_flutterLogPngBase64));

final contentLength = f.lengthSync();
Expand Down Expand Up @@ -92,7 +92,7 @@ void uploadTests(
addTearDown(() => tmp.deleteSync(recursive: true));

final f = File(p.join(tmp.path, 'flutter.png'));
f.createSync(exclusive: false);
f.createSync();
f.writeAsBytesSync(base64Decode(_flutterLogPngBase64));

final contentLength = f.lengthSync();
Expand Down

0 comments on commit 87697d8

Please sign in to comment.