[corlib] Fix String.PadLeft/Right tests and add a new test for large string
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 13 Dec 2015 00:33:05 +0000 (01:33 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 13 Dec 2015 01:51:17 +0000 (02:51 +0100)
commite6cf61f920b6ec1c6ecb67bcbe226256d6dc4db7
treee1921bf6f419a9d1006dfab6ad8ad905a8179176
parentec9b161ca85c6bed34550bdcbf883f8e24f9a8f6
[corlib] Fix String.PadLeft/Right tests and add a new test for large string

We didn't catch the regression that is fixed in a780c52749695141c2037a5828808a82880292f6
because the tests didn't check the actual string or that an OOM is raised.

Add a new test for creating a large string (which works on 64bit Mono) to test a similar
codepath.
mcs/class/corlib/Test/System/StringTest.cs