/NRefactory/ICSharpCode.NRefactory.VB.Tests/Parser/SnippetParserTests.cs

http://github.com/icsharpcode/ILSpy · C# · 22 lines · 10 code · 2 blank · 10 comment · 0 complexity · b455dc6c818bd1556325d408f0bb6144 MD5 · raw file

  1. // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
  2. // This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
  3. using ICSharpCode.NRefactory.VB.Ast;
  4. using System;
  5. using NUnit.Framework;
  6. namespace ICSharpCode.NRefactory.VB.Tests
  7. {
  8. [TestFixture]
  9. public class SnippetParserTests
  10. {
  11. // [Test]
  12. // public void InvalidExpressionSyntax()
  13. // {
  14. // // SD2-1584: ensure we don't crash on this invalid VB code
  15. // SnippetParser parser = new SnippetParser();
  16. // INode node = parser.Parse("i == 5");
  17. // Assert.IsTrue(parser.Errors.Count > 0);
  18. // }
  19. }
  20. }