@@ -107,10 +107,10 @@ var (
107
107
108
108
eventJsonCustomDataTemplate = `{
109
109
"context": {
110
- "version": "0.1.1 ",
110
+ "version": "0.1.2 ",
111
111
"id": "%s",
112
112
"source": "TestAsCloudEvent",
113
- "type": "dev.cdevents.artifact.packaged.0.1.1 ",
113
+ "type": "dev.cdevents.artifact.packaged.0.1.0 ",
114
114
"timestamp": "%s"
115
115
},
116
116
"subject": {
@@ -134,10 +134,10 @@ var (
134
134
135
135
eventImplicitJsonCustomDataTemplate = `{
136
136
"context": {
137
- "version": "0.1.1 ",
137
+ "version": "0.1.2 ",
138
138
"id": "%s",
139
139
"source": "TestAsCloudEvent",
140
- "type": "dev.cdevents.artifact.packaged.0.1.1 ",
140
+ "type": "dev.cdevents.artifact.packaged.0.1.0 ",
141
141
"timestamp": "%s"
142
142
},
143
143
"subject": {
@@ -161,10 +161,10 @@ var (
161
161
162
162
eventNonJsonCustomDataTemplate = `{
163
163
"context": {
164
- "version": "0.1.1 ",
164
+ "version": "0.1.2 ",
165
165
"id": "%s",
166
166
"source": "TestAsCloudEvent",
167
- "type": "dev.cdevents.artifact.packaged.0.1.1 ",
167
+ "type": "dev.cdevents.artifact.packaged.0.1.0 ",
168
168
"timestamp": "%s"
169
169
},
170
170
"subject": {
@@ -1130,7 +1130,7 @@ func TestNewFromJsonBytes(t *testing.T) {
1130
1130
}{{
1131
1131
testFile : "future_event_major_version" ,
1132
1132
description : "A newer major version in the event is backward incompatible and cannot be parsed" ,
1133
- wantError : "sdk event version 0.1.1 not compatible with 999.0.0" ,
1133
+ wantError : "sdk event version 0.1.0 not compatible with 999.0.0" ,
1134
1134
}, {
1135
1135
testFile : "future_event_minor_version" ,
1136
1136
description : "A newer minor version in the event is compatible and can be parsed, data is lost" ,
0 commit comments