1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-25 22:41:46 +02:00

[chore]: enable expected-actual rule from testifylint (#5848)

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[expected-actual](https://github.com/Antonboom/testifylint?tab=readme-ov-file#expected-actual)
rule from [testifylint](https://github.com/Antonboom/testifylint)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-09-26 12:04:33 +02:00
committed by GitHub
parent f710cecfc5
commit 6edc7a63df
25 changed files with 62 additions and 63 deletions

View File

@@ -36,7 +36,7 @@ func TestUname(t *testing.T) {
uname, err := resource.Uname()
require.Equal(t, uname, "Mock OS DESKTOP-PC 5.0.0 #1 SMP Thu May 6 12:34:56 UTC 2021 x86_64")
require.Equal(t, "Mock OS DESKTOP-PC 5.0.0 #1 SMP Thu May 6 12:34:56 UTC 2021 x86_64", uname)
require.NoError(t, err)
resource.SetDefaultUnameProvider()