You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{0,}",12345.67);},"Should throw with error message: Format error: empty alignment, column 3");
59
-
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{0,a10}",12345.67);},"Should throw with error message: Format error: wrong symbol at alignment, column 3");
60
-
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{0,-a10}",12345.67);},"Should throw with error message: Format error: wrong symbol at alignment, column 4");
61
-
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{a}",12345.67);},"Should throw with error message: Format error: wrong symbol at {}, column 1");
62
-
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{0:}",12345.67);},"Should throw with error message: Format error: empty format after ':', column 3");
63
-
Assert.Throws(typeof(ArgumentException),()=>{string.Format("{0",12345.67);},"Should throw with error message: Format error: no closed brace, column 2");
0 commit comments