diff --git a/Directory.Packages.props b/Directory.Packages.props index faaf26b5..0989d4ab 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,4 +19,4 @@ - + \ No newline at end of file diff --git a/src/Chapter20.Tests/Listing20.07.Tests.cs b/src/Chapter20.Tests/Listing20.07.Tests.cs index 1342905a..df8ba904 100644 --- a/src/Chapter20.Tests/Listing20.07.Tests.cs +++ b/src/Chapter20.Tests/Listing20.07.Tests.cs @@ -1,14 +1,11 @@ -//using System.Threading.Tasks; +namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_07.Tests; -//namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_07.Tests -//{ -// [TestClass] -// public class ProgramTests -// { -// [TestMethod] -// public async Task MainTest() -// { -// await IntelliTect.TestTools.Console.ConsoleAssert.ExpectAsync("", async () => await AsyncEncryptionCollection.Main()); -// } -// } -//} \ No newline at end of file +[TestClass] +public class AsyncEncryptionCollectionTests +{ + [TestMethod] + public async Task MainDoesNotThrow() + { + await IntelliTect.TestTools.Console.ConsoleAssert.ExecuteAsync("", async () => await AsyncEncryptionCollection.Main()); + } +} \ No newline at end of file