Skip to content

Commit

Permalink
Correct API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Jan 26, 2024
1 parent 0a5f18b commit 720c76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Backtrace.Tests/EnvironmentTests/BacktraceAttributesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public void TestBacktraceReporterMetadata()
var report = new BacktraceReport("testMessage");
var attributes = new BacktraceAttributes(report, null);

Assert.Equal(attributes.Attributes["backtrace.agent"], "backtrace-csharp");
Assert.AreEqual(attributes.Attributes["backtrace.version"], BacktraceClient.Version);
Assert.Equals(attributes.Attributes["backtrace.agent"], "backtrace-csharp");
Assert.AreEqual(attributes.Attributes["backtrace.version"], BacktraceClient.AgentVersion);
}


Expand Down

0 comments on commit 720c76f

Please sign in to comment.