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 GetEncoder()
{
char[] chars = EncodingHelpers.GetRandomString(10).ToCharArray();
char[] chars = "abc\u1234\uD800\uDC00defg".ToCharArray();
byte[] bytes = new UnicodeEncoding().GetBytes(chars);
byte[] desBytes = new byte[20];
int buffer;