diff options
Diffstat (limited to 'ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs')
-rw-r--r-- | ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs b/ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs index 88442e72..8bb0cfad 100644 --- a/ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs +++ b/ICSharpCode.NRefactory.Tests/CSharp/InsertParenthesesVisitorTests.cs @@ -126,7 +126,7 @@ namespace ICSharpCode.NRefactory.CSharp Expression expr = new PrimitiveExpression(int.MinValue).CastTo(new PrimitiveType("double")); Assert.AreEqual("(double)-2147483648", InsertRequired(expr)); - Assert.AreEqual("(double)-2147483648", InsertReadable(expr)); + Assert.AreEqual("(double)(-2147483648)", InsertReadable(expr)); } [Test] |