[WinForms] Fix a test to correctly check for Mono
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 9 Aug 2016 19:50:44 +0000 (21:50 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 9 Aug 2016 22:16:06 +0000 (00:16 +0200)
commit8ac1adac8ee04a57ebb51c0168f5198e1e0eef78
tree6612f60c9c7b0642194440b7e8e033ad3c43d67d
parentdfdbf0c365396df08a71c908dde66250f305f90a
[WinForms] Fix a test to correctly check for Mono

typeof (int).GetType ().GetType ().Name is now RuntimeType since https://github.com/mono/mono/pull/3045.
We did not notice this since most of our bots don't run with en-US locale set which this test requires.
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/DateTimePickerTest.cs