From 7d705cceb0db6d64a6fc8c6f976eb54fe22f9699 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Sun, 29 Nov 2020 17:56:00 -0800 Subject: [PATCH] cleanup: upgrade Linux CI to latest ubuntu version (#412) --- azure-pipelines.yml | 2 +- test/CommandLineUtils.Tests/AllowedValuesAttributeTests.cs | 2 ++ .../McMaster.Extensions.CommandLineUtils.Tests.csproj | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c9eb87b1..ad41dd36 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: Linux: - vmImage: ubuntu-16.04 + vmImage: ubuntu-latest MacOS: vmImage: macOS-latest Windows: diff --git a/test/CommandLineUtils.Tests/AllowedValuesAttributeTests.cs b/test/CommandLineUtils.Tests/AllowedValuesAttributeTests.cs index a0883336..0b0667c9 100644 --- a/test/CommandLineUtils.Tests/AllowedValuesAttributeTests.cs +++ b/test/CommandLineUtils.Tests/AllowedValuesAttributeTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +using McMaster.Extensions.Xunit; using Xunit; using Xunit.Abstractions; @@ -55,6 +56,7 @@ private void OnExecute() { } [Theory] [InlineData("red")] [InlineData("RED")] + [UseCulture("en-US")] public void ValidatesValueInSetIgnoreCase(string value) { var console = new TestConsole(_output); diff --git a/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj b/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj index 5289233b..6ba232c7 100644 --- a/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj +++ b/test/CommandLineUtils.Tests/McMaster.Extensions.CommandLineUtils.Tests.csproj @@ -15,6 +15,7 @@ +