Skip to content

Commit

Permalink
added a test to check writing to a file in a directory that doesn't e…
Browse files Browse the repository at this point in the history
…xist
  • Loading branch information
Nitin-Poojary committed Jul 21, 2023
1 parent 3cdb01d commit c2e3be0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/pigeon/tool/shared/test_suites.dart
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,13 @@ Future<int> _runCommandLineTests() async {
'--ast_out',
tempOutput
],
// Test writing a file in a directory that doesn't exist
<String>[
'--input',
'pigeons/message.dart',
'--dart_out',
'$tempDir/subdirectory/message.g.dart',
],
];

int exitCode = 0;
Expand Down

0 comments on commit c2e3be0

Please sign in to comment.