Skip to content

Commit

Permalink
update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
weikanglim committed Aug 28, 2023
1 parent 5e4a742 commit fe492a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cli/azd/internal/appdetect/appdetect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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"),
},
Expand All @@ -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",
})
}

Expand Down

0 comments on commit fe492a5

Please sign in to comment.