summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/UtilTests.cs
blob: 5ea4d0c5760dd1c298e6285ee8ad387ca429902a (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="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Test {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;
	using Microsoft.VisualStudio.TestTools.UnitTesting;

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