8 references to SkipLast
Aspire.Cli.Tests (2)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (1)
212
options.Select(formatter).
SkipLast
(2));
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (1)
377
Assert.All(groupedChoices.
SkipLast
(2), choice =>
Aspire.Dashboard.Components.Tests (2)
Pages\TracesTests.cs (2)
254
Assert.Equal(expectedTags, children.
SkipLast
(1).Select(child => string.Join(" ", child.TextContent.Split((char[]?)null, StringSplitOptions.RemoveEmptyEntries))));
255
Assert.All(children.
SkipLast
(1), child => Assert.Contains("trace-service-tag", child.ClassList));
Aspire.Hosting (1)
ApplicationModel\ContainerFileSystemCallbackAnnotation.cs (1)
160
foreach (var part in parts.
SkipLast
(1))
Aspire.Tray.Tests (2)
TrayControllerSavedStateTests.cs (2)
339
Assert.Equal(hosts.Skip(15).
SkipLast
(1).Reverse().Select(host => host.Id.AppHostPath),
344
Assert.Equal(hosts.Skip(15).
SkipLast
(1).Reverse().Select(host => host.Id.AppHostPath),
Microsoft.ML.AutoML.Samples (1)
Cifar10.cs (1)
23
Label = p.Split("\\").
SkipLast
(1).Last(),