Skip to content

Commit

Permalink
Stacktrace differs between Debug and Release builds of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haf committed Sep 14, 2018
1 parent 8a6dcfb commit 9957ed9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Logary.Facade.Tests/Logary.Facade.Tests.fsproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Logary.Facade.Tests</AssemblyName>
<Version>5.0.0-beta.22</Version>
<Version>5.0.0-beta.23</Version>
<Version>5.0.0-beta.12</Version>
<OutputType>Exe</OutputType>
<TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks>
Expand Down
2 changes: 1 addition & 1 deletion src/Logary.Facade/Logary.Facade.fsproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Logary.Facade</AssemblyName>
<Version>5.0.0-beta.22</Version>
<Version>5.0.0-beta.23</Version>
<Version>5.0.0-beta.12</Version>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Logary.PerfTests/Logary.PerfTests.fsproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks>
<Version>5.0.0-beta.22</Version>
<Version>5.0.0-beta.23</Version>
<OutputType>Exe</OutputType>
<ServerGarbageCollection>true</ServerGarbageCollection>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand Down
4 changes: 2 additions & 2 deletions src/Logary.Tests/Literate.fs
Expand Up @@ -31,7 +31,7 @@ let tokenisation =
let expected =
[ "-", MessageTemplates.Formatting.Literate.Subtext // newline
"System.Exception: Top level exn", MessageTemplates.Formatting.Literate.Text
"Logary.Tests.LiterateConsole.throwAnotherExn@20.Invoke(Exception inner)", MessageTemplates.Formatting.Literate.Subtext
"Logary.Tests.LiterateConsole.throwAnotherExn@19(Exception inner)", MessageTemplates.Formatting.Literate.Subtext
"--- End of exception stack trace ---", MessageTemplates.Formatting.Literate.Punctuation
"System.Exception: Bad things going on", MessageTemplates.Formatting.Literate.Text
"Logary.Tests.Utils.innermost[a](Boolean throwCLRExn)", MessageTemplates.Formatting.Literate.Subtext
Expand All @@ -46,7 +46,7 @@ let tokenisation =
let expected =
[ "-", MessageTemplates.Formatting.Literate.Subtext // newline
"System.AggregateException: Outer aggregate exception (Bad things going on) (Bad things going on)", MessageTemplates.Formatting.Literate.Text
"Logary.Tests.LiterateConsole.throwAggrExn@24.Invoke(Exception inner1, Exception inner2)", MessageTemplates.Formatting.Literate.Subtext
"Logary.Tests.LiterateConsole.throwAggrExn@23(Exception inner1, Exception inner2)", MessageTemplates.Formatting.Literate.Subtext
"--- End of exception stack trace ---", MessageTemplates.Formatting.Literate.Punctuation
"System.Exception: Bad things going on", MessageTemplates.Formatting.Literate.Text
"Logary.Tests.Utils.innermost[a](Boolean throwCLRExn)", MessageTemplates.Formatting.Literate.Subtext
Expand Down
2 changes: 1 addition & 1 deletion src/Logary.Tests/Logary.Tests.fsproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>5.0.0-beta.22</Version>
<Version>5.0.0-beta.23</Version>
<Version>5.0.0-beta.12</Version>
<TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks>
<NoWarn>44</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion src/Logary/Logary.fsproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Logary</AssemblyName>
<Version>5.0.0-beta.22</Version>
<Version>5.0.0-beta.23</Version>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<NoWarn>44;2003</NoWarn>
<DefineConstants>TYPESHAPE_EXPOSE</DefineConstants>
Expand Down

0 comments on commit 9957ed9

Please sign in to comment.