Skip to content

Commit

Permalink
fixed logging offset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle committed Jun 2, 2023
1 parent 85794b9 commit 0762236
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tflog/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
{
// Caller line (number after colon) should match
// tflog.SubsystemTrace() line in test case implementation.
"@caller": "/tflog/options_test.go:29",
"@caller": "/tflog/options_test.go:32",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand All @@ -52,7 +52,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
// Caller line (number after colon) should match
// tflog.SubsystemTrace() line in testSubsystemTraceHelper
// function implementation.
"@caller": "/tflog/options_test.go:15",
"@caller": "/tflog/options_test.go:18",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand All @@ -69,7 +69,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
// Caller line (number after colon) should match
// testSubsystemTraceHelper() line in test case
// implementation.
"@caller": "/tflog/options_test.go:62",
"@caller": "/tflog/options_test.go:65",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand Down
6 changes: 3 additions & 3 deletions tfsdklog/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
{
// Caller line (number after colon) should match
// tfsdklog.SubsystemTrace() line in test case implementation.
"@caller": "/tfsdklog/options_test.go:29",
"@caller": "/tfsdklog/options_test.go:32",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand All @@ -52,7 +52,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
// Caller line (number after colon) should match
// tfsdklog.SubsystemTrace() line in testSubsystemTraceHelper
// function implementation.
"@caller": "/tfsdklog/options_test.go:15",
"@caller": "/tfsdklog/options_test.go:18",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand All @@ -69,7 +69,7 @@ func TestWithAdditionalLocationOffset(t *testing.T) {
// Caller line (number after colon) should match
// testSubsystemTraceHelper() line in test case
// implementation.
"@caller": "/tfsdklog/options_test.go:62",
"@caller": "/tfsdklog/options_test.go:65",
"@level": "trace",
"@message": "test message",
"@module": testSubsystemModule,
Expand Down

0 comments on commit 0762236

Please sign in to comment.