fixed typo
This commit is contained in:
parent
d4f08a971d
commit
bd6e4ef885
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ namespace PSTests
|
|||
File.Create(path);
|
||||
}
|
||||
// Create a file to write to using StreamWriter.
|
||||
// convert string to stream. On Windows, this appears to be handled, but on *nix, we apparently need to convert to UTF8.
|
||||
// convert string to stream. On Windows, this appears to be handled, but on *nix,
|
||||
// we apparently need to convert to UTF8.
|
||||
byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(path);
|
||||
MemoryStream stream = new MemoryStream(byteArray);
|
||||
|
||||
|
|
Loading…
Reference in a new issue