diff --git a/src/test/Test.FAKECore/AssemblyInfoSpecs.cs b/src/test/Test.FAKECore/AssemblyInfoSpecs.cs index 048954b22db..4dab20008d4 100644 --- a/src/test/Test.FAKECore/AssemblyInfoSpecs.cs +++ b/src/test/Test.FAKECore/AssemblyInfoSpecs.cs @@ -24,7 +24,7 @@ public class when_using_fsharp_task_with_default_config AssemblyInfoFile.Attribute.Version("1.0.0.0") }; AssemblyInfoFile.CreateFSharpAssemblyInfo(infoFile, attributes); - const string expected = "namespace System\r\nopen System.Reflection\r\n\r\n[]\r\n[]\r\ndo ()\r\n\r\nmodule internal AssemblyVersionInformation =\r\n let [] Version = \"1.0.0.0\"\r\n"; + const string expected = "namespace System\r\nopen System.Reflection\r\n\r\n[]\r\n[]\r\ndo ()\r\n\r\nmodule internal AssemblyVersionInformation =\r\n let [] Version = \"1.0.0.0\"\r\n let [] InformationalVersion = \"1.0.0.0\"\r\n"; File.ReadAllText(infoFile) .ShouldEqual(expected.Replace("\r\n", Environment.NewLine)); @@ -104,7 +104,7 @@ public class when_using_csharp_task_with_default_config AssemblyInfoFile.Attribute.Version("1.0.0.0") }; AssemblyInfoFile.CreateCSharpAssemblyInfo(infoFile, attributes); - const string expected = "// \r\nusing System.Reflection;\r\n\r\n[assembly: AssemblyProductAttribute(\"TestLib\")]\r\n[assembly: AssemblyVersionAttribute(\"1.0.0.0\")]\r\nnamespace System {\r\n internal static class AssemblyVersionInformation {\r\n internal const string Version = \"1.0.0.0\";\r\n }\r\n}\r\n"; + const string expected = "// \r\nusing System.Reflection;\r\n\r\n[assembly: AssemblyProductAttribute(\"TestLib\")]\r\n[assembly: AssemblyVersionAttribute(\"1.0.0.0\")]\r\nnamespace System {\r\n internal static class AssemblyVersionInformation {\r\n internal const string Version = \"1.0.0.0\";\r\n internal const string InformationalVersion = \"1.0.0.0\";\r\n }\r\n}\r\n"; File.ReadAllText(infoFile) .ShouldEqual(expected.Replace("\r\n", Environment.NewLine)); @@ -230,7 +230,7 @@ public class when_using_vb_task_with_default_config AssemblyInfoFile.Attribute.Version("1.0.0.0") }; AssemblyInfoFile.CreateVisualBasicAssemblyInfo(infoFile, attributes); - const string expected = "' \r\nImports System.Reflection\r\n\r\n\r\n\r\nFriend NotInheritable Class AssemblyVersionInformation\r\n Friend Const Version As String = \"1.0.0.0\"\r\nEnd Class\r\n"; + const string expected = "' \r\nImports System.Reflection\r\n\r\n\r\n\r\nFriend NotInheritable Class AssemblyVersionInformation\r\n Friend Const Version As String = \"1.0.0.0\"\r\n Friend Const InformationalVersion As String = \"1.0.0.0\"\r\nEnd Class\r\n"; File.ReadAllText(infoFile) .ShouldEqual(expected.Replace("\r\n", Environment.NewLine));