325cd9ecec
This test has been failing the following error:
Unhandled exception:
Expect.fail('../itxkmd5wzq/named_pipeTGADTD/typeScript: Error: Error when reading '../itxkmd5wzq/named_pipeTGADTD/typeScript': No such file or directory
')
This could happen if the script file has not been written to disk
by the time a sub-process is started.
In order to fix that, non-awaited File.writeAsString is replaced
with File.writeAsStringSync.
TEST=standalone/io/named_pipe_type_test
Change-Id: Ied68c458a04e7c2a5eb20131bea459cb628e1d97
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417085
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.