mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
add opentracing spans for metrics
This commit is contained in:
committed by
Travis Reeder
parent
1cc1a5ad49
commit
dc5e67b6d2
21
vendor/github.com/Shopify/sarama/utils_test.go
generated
vendored
Normal file
21
vendor/github.com/Shopify/sarama/utils_test.go
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package sarama
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestVersionCompare(t *testing.T) {
|
||||
if V0_8_2_0.IsAtLeast(V0_8_2_1) {
|
||||
t.Error("0.8.2.0 >= 0.8.2.1")
|
||||
}
|
||||
if !V0_8_2_1.IsAtLeast(V0_8_2_0) {
|
||||
t.Error("! 0.8.2.1 >= 0.8.2.0")
|
||||
}
|
||||
if !V0_8_2_0.IsAtLeast(V0_8_2_0) {
|
||||
t.Error("! 0.8.2.0 >= 0.8.2.0")
|
||||
}
|
||||
if !V0_9_0_0.IsAtLeast(V0_8_2_1) {
|
||||
t.Error("! 0.9.0.0 >= 0.8.2.1")
|
||||
}
|
||||
if V0_8_2_1.IsAtLeast(V0_10_0_0) {
|
||||
t.Error("0.8.2.1 >= 0.10.0.0")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user