/NRefactory/ICSharpCode.NRefactory.VB.Tests/Lexer/TokenTests.cs

http://github.com/icsharpcode/ILSpy · C# · 23 lines · 19 code · 2 blank · 2 comment · 0 complexity · 266951ef14e3ea408102d77bf4b4c9c1 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 System;
  4. using ICSharpCode.NRefactory.VB.Parser;
  5. using NUnit.Framework;
  6. namespace ICSharpCode.NRefactory.VB.Tests.Lexer
  7. {
  8. [TestFixture]
  9. public class TokenTests
  10. {
  11. [Test]
  12. public void TokenToStringDoesNotThrowException()
  13. {
  14. Assert.DoesNotThrow(
  15. () => {
  16. string text = new Token(71, 1, 1).ToString();
  17. }
  18. );
  19. }
  20. }
  21. }