mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-07 23:02:15 +02:00
Build on newly released version of go, go 1.15 (#1064)
* Build on newly release version of go, go 1.15 Remove 1.13 build job per policy of supporting past two releases. * String conversions in 1.15 require byte, rune or string. Simply passing an integer now issues a warning.
This commit is contained in:
parent
45b6a22cbb
commit
62d603f1a6
@ -3,11 +3,11 @@ executors:
|
|||||||
current-go:
|
current-go:
|
||||||
resource_class: large
|
resource_class: large
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/go:1.14
|
- image: cimg/go:1.15
|
||||||
prior-go:
|
prior-go:
|
||||||
resource_class: large
|
resource_class: large
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/go:1.13
|
- image: cimg/go:1.14
|
||||||
|
|
||||||
build-template: &build-template
|
build-template: &build-template
|
||||||
environment:
|
environment:
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestExportKindIdentity(t *testing.T) {
|
func TestExportKindIdentity(t *testing.T) {
|
||||||
akind := aggregation.Kind(0)
|
akind := aggregation.Kind("Noop")
|
||||||
|
|
||||||
require.Equal(t, CumulativeExporter, CumulativeExporter.ExportKindFor(nil, akind))
|
require.Equal(t, CumulativeExporter, CumulativeExporter.ExportKindFor(nil, akind))
|
||||||
require.Equal(t, DeltaExporter, DeltaExporter.ExportKindFor(nil, akind))
|
require.Equal(t, DeltaExporter, DeltaExporter.ExportKindFor(nil, akind))
|
||||||
|
Loading…
Reference in New Issue
Block a user