diff options
Diffstat (limited to 'mcs/class/corlib/Test/System/StringTest.cs')
-rw-r--r-- | mcs/class/corlib/Test/System/StringTest.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/corlib/Test/System/StringTest.cs b/mcs/class/corlib/Test/System/StringTest.cs index 9e6bd64e349..b155da7a273 100644 --- a/mcs/class/corlib/Test/System/StringTest.cs +++ b/mcs/class/corlib/Test/System/StringTest.cs @@ -3011,6 +3011,13 @@ public class StringTest } } + [Test] + public void PadRight2 () + { + Assert.AreEqual ("100000000000", "1".PadRight (12, '0'), "#1"); + Assert.AreEqual ("000000000000", "".PadRight (12, '0'), "#2"); + } + [Test] // Remove (Int32, Int32) public void Remove2 () { |