From fe492a5667f7a44a705c6116862c18dd2fdaba91 Mon Sep 17 00:00:00 2001 From: Wei Lim Date: Mon, 28 Aug 2023 11:42:00 -0700 Subject: [PATCH] update test expectations --- cli/azd/internal/appdetect/appdetect_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/azd/internal/appdetect/appdetect_test.go b/cli/azd/internal/appdetect/appdetect_test.go index 49990733438..b52ae0b6b54 100644 --- a/cli/azd/internal/appdetect/appdetect_test.go +++ b/cli/azd/internal/appdetect/appdetect_test.go @@ -33,7 +33,7 @@ func TestDetect(t *testing.T) { { Language: DotNet, Path: "dotnet", - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", }, { Language: Java, @@ -101,7 +101,7 @@ func TestDetect(t *testing.T) { { Language: DotNet, Path: "dotnet", - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", }, { Language: Java, @@ -120,7 +120,7 @@ func TestDetect(t *testing.T) { { Language: DotNet, Path: "dotnet", - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", }, { Language: Java, @@ -142,7 +142,7 @@ func TestDetect(t *testing.T) { { Language: DotNet, Path: "dotnet", - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", }, { Language: Java, @@ -188,7 +188,7 @@ func TestDetectDocker(t *testing.T) { require.Equal(t, projects[0], Project{ Language: DotNet, Path: filepath.Join(dir, "dotnet"), - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", Docker: &Docker{ Path: filepath.Join(dir, "dotnet", "Dockerfile"), }, @@ -215,7 +215,7 @@ func TestDetectNested(t *testing.T) { require.Equal(t, projects[0], Project{ Language: DotNet, Path: filepath.Join(src, "dotnet"), - DetectionRule: "Inferred by presence of: program.cs, dotnettestapp.csproj", + DetectionRule: "Inferred by presence of: dotnettestapp.csproj, program.cs", }) }