/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
- // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
- // This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
- using System;
- using ICSharpCode.NRefactory.VB.Parser;
- using NUnit.Framework;
- namespace ICSharpCode.NRefactory.VB.Tests.Lexer
- {
- [TestFixture]
- public class TokenTests
- {
- [Test]
- public void TokenToStringDoesNotThrowException()
- {
- Assert.DoesNotThrow(
- () => {
- string text = new Token(71, 1, 1).ToString();
- }
- );
- }
- }
- }