nit: Simplify test condition in trace_test.go (#2448)
nit: Simplify test condition in trace_test.go (#2448)

Signed-off-by: Bogdan Drutu <3f8e17047c2434e5c82a61403e56b9ef3e226d99@gmail.com>

Co-authored-by: Tyler Yahn <b79042b10fd9cd75597e3dac7c4e4fe9e14fe996@users.noreply.github.com>
open-telemetry/opentelemetry-go,open-telemetry/opentelemetry-go