Remove random data from System.Text.Encoding tests

Commit migrated from https://github.com/dotnet/corefx/commit/c8dd21919875419202bbf8277b776580c783b6aa
This commit is contained in:
Hugh Bellamy committed 2016-04-21 21:32:38 +01:00
1 parent 0b028ee362
commit f15da2ff38
12 files changed
+45 -106

No files matched your search

@@ -11,7 +11,7 @@ namespace System.Text.Tests
[Fact]
public void GetDecoder()
{
char[] sourceChars = EncodingHelpers.GetRandomString(10).ToCharArray();
char[] sourceChars = "abc\u1234\uD800\uDC00defg".ToCharArray();
char[] destinationChars = new char[10];
byte[] bytes = new UnicodeEncoding().GetBytes(sourceChars);
int bytesUsed;