7 references to ValidateLicense
Microsoft.DotNet.Arcade.Sdk.Tests (7)
ValidateLicenseTests.cs (7)
13Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "b" })); 14Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "A" })); 15Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "a", "b" })); 16Assert.False(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "a", "*ignore-line*" })); 17Assert.False(ValidateLicense.LinesEqual(new[] { "*ignore-line*" }, new[] { "a" })); 18Assert.True(ValidateLicense.LinesEqual(new[] { "a" }, new[] { "*ignore-line*" })); 20Assert.True(ValidateLicense.LinesEqual(new[] { "a", " ", " b", "xxx", "\t \t" }, new[] { "a", "b ", "*ignore-line*" }));