Skip to content

Commit

Permalink
fix usage of wc to be more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhc committed Jan 9, 2025
1 parent bf126c8 commit 21c38b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smoke-tests/smoke-e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ teardown_file() {
}

@test "SDK only installs instrumentation once" {
result=$(sessions_started | wc -l)
assert_equal "$result" " 1"
result=$(sessions_started | wc -l | tr -d ' ')
assert_equal "$result" "1"
}

@test "SDK can send spans" {
Expand Down

0 comments on commit 21c38b2

Please sign in to comment.