Skip to content

Commit 3fbf349

Browse files
authored
Merge pull request #27 from PBoraMSFT/master
Minor changes to tests
2 parents 73e6925 + db5d991 commit 3fbf349

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sample ASP.NET Core application for Azure Pipelines docs
22

3-
For information on how to use this repository, see [.NET Core](https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core).
3+
For information on how to use this repository, see docs for [.NET Core](https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core).
44

55
| Example | Build status |
66
|---------|--------------|

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ steps:
1212
dotnet build --configuration $(buildConfiguration)
1313
dotnet test dotnetcore-tests --configuration $(buildConfiguration) --logger trx
1414
dotnet publish --configuration $(buildConfiguration) --output $BUILD_ARTIFACTSTAGINGDIRECTORY
15+
failOnStderr: true
1516

1617
- task: PublishTestResults@2
1718
condition: succeededOrFailed()

dotnetcore-tests/UnitTest1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void Contact()
3131
ViewResult result = controller.Contact() as ViewResult;
3232

3333
// Assert
34-
Assert.AreEqual("Your contact page.", result.ViewData["Message"]);
34+
Assert.AreEqual("Your contact pagess.", result.ViewData["Message"]);
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)