dotnet-installer/test/EndToEnd/SupportedNetCoreAppVersions.cs
Mike Lorbetske 201dfd581b
Fix tests
2018-08-03 20:02:55 -07:00

27 lines
711 B
C#

using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace EndToEnd
{
public class SupportedNetCoreAppVersions : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator() => Versions.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public static IEnumerable<object[]> Versions
{
get
{
return new[]
{
"1.0",
"1.1",
"2.0",
"2.1",
"2.2"
}.Select(version => new object[] { version });
}
}
}
}