summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/UtilTests.cs
blob: 96fc2545633588881964168e0291600164a6ff52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//-----------------------------------------------------------------------
// <copyright file="UtilTests.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Test {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;
	using NUnit.Framework;

	[TestFixture]
	public class UtilTests {
		/// <summary>
		/// Verifies ToStringDeferred generates a reasonable string for an empty, multi-line list.
		/// </summary>
		[Test]
		public void ToStringDeferredEmptyMultiLine() {
			Assert.AreEqual("[]", Util.ToStringDeferred(Enumerable.Empty<string>(), true).ToString());
		}
	}
}