Skip to content

Commit 86799f1

Browse files
committed
Create file in addLibraryFile
1 parent 6c57477 commit 86799f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dwds/test/fixtures/context.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ class TestContext {
585585

586586
void addLibraryFile({required String libFileName, required String contents}) {
587587
final file = File(project.dartLibFilePath(libFileName));
588+
file.createSync();
588589
file.writeAsStringSync(contents);
589590
}
590591

0 commit comments

Comments
 (0)