Permalink
Browse files

Fixed failing unit test.

  • Loading branch information...
1 parent 77283dc commit 2de50218e74fc39cf5b512a7ab5525a559b40b09 @mkrueger mkrueger committed Jun 25, 2012
@@ -145,9 +145,9 @@ public void TestHexadecimalInteger()
public void InvalidHexadecimalInteger()
{
// don't check result, just make sure there is no exception
- ParseUtilCSharp.ParseExpression<PrimitiveExpression>("0x2GF", expectErrors: true);
- ParseUtilCSharp.ParseExpression<PrimitiveExpression>("0xG2F", expectErrors: true);
- ParseUtilCSharp.ParseExpression<PrimitiveExpression>("0x", expectErrors: true); // SD-457
+ ParseUtilCSharp.ParseExpression<ICSharpCode.NRefactory.CSharp.Expression>("0x2GF", expectErrors: true);
+ ParseUtilCSharp.ParseExpression<ICSharpCode.NRefactory.CSharp.Expression>("0xG2F", expectErrors: true);
+ ParseUtilCSharp.ParseExpression<ICSharpCode.NRefactory.CSharp.Expression>("0x", expectErrors: true); // SD-457
// hexadecimal integer >ulong.MaxValue
ParseUtilCSharp.ParseExpression<PrimitiveExpression>("0xfedcba98765432100", expectErrors: true);
}

0 comments on commit 2de5021

Please sign in to comment.