PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 4using System;
 5using ICSharpCode.NRefactory.VB.Parser;
 6using NUnit.Framework;
 7
 8namespace ICSharpCode.NRefactory.VB.Tests.Lexer
 9{
10	[TestFixture]
11	public class TokenTests
12	{
13		[Test]
14		public void TokenToStringDoesNotThrowException()
15		{
16			Assert.DoesNotThrow(
17				() => {
18					string text = new Token(71, 1, 1).ToString();
19				}
20			);
21		}
22	}
23}