Skip to content

Commit

Permalink
fix compile errors caused by protobuf finally merging their dev branc…
Browse files Browse the repository at this point in the history
…h to master
  • Loading branch information
jhump committed May 1, 2018
1 parent 87a1b0c commit ae16d78
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions runtime/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ func TestPopulateParameters(t *testing.T) {
RepeatedEnum: []EnumValue{EnumValue_Y, EnumValue_Z, EnumValue_X},
TimestampValue: timePb,
FieldMaskValue: fieldmaskPb,
WrapperFloatValue: &wrappers.FloatValue{1.5},
WrapperDoubleValue: &wrappers.DoubleValue{2.5},
WrapperInt64Value: &wrappers.Int64Value{-1},
WrapperInt32Value: &wrappers.Int32Value{-2},
WrapperUInt64Value: &wrappers.UInt64Value{3},
WrapperUInt32Value: &wrappers.UInt32Value{4},
WrapperBoolValue: &wrappers.BoolValue{true},
WrapperStringValue: &wrappers.StringValue{"str"},
WrapperBytesValue: &wrappers.BytesValue{[]byte("bytes")},
WrapperFloatValue: &wrappers.FloatValue{Value: 1.5},
WrapperDoubleValue: &wrappers.DoubleValue{Value: 2.5},
WrapperInt64Value: &wrappers.Int64Value{Value: -1},
WrapperInt32Value: &wrappers.Int32Value{Value: -2},
WrapperUInt64Value: &wrappers.UInt64Value{Value: 3},
WrapperUInt32Value: &wrappers.UInt32Value{Value: 4},
WrapperBoolValue: &wrappers.BoolValue{Value: true},
WrapperStringValue: &wrappers.StringValue{Value: "str"},
WrapperBytesValue: &wrappers.BytesValue{Value: []byte("bytes")},
MapValue: map[string]string{
"key": "value",
"second": "bar",
Expand Down Expand Up @@ -169,15 +169,15 @@ func TestPopulateParameters(t *testing.T) {
RepeatedEnum: []EnumValue{EnumValue_Y, EnumValue_Z, EnumValue_X},
TimestampValue: timePb,
FieldMaskValue: fieldmaskPb,
WrapperFloatValue: &wrappers.FloatValue{1.5},
WrapperDoubleValue: &wrappers.DoubleValue{2.5},
WrapperInt64Value: &wrappers.Int64Value{-1},
WrapperInt32Value: &wrappers.Int32Value{-2},
WrapperUInt64Value: &wrappers.UInt64Value{3},
WrapperUInt32Value: &wrappers.UInt32Value{4},
WrapperBoolValue: &wrappers.BoolValue{true},
WrapperStringValue: &wrappers.StringValue{"str"},
WrapperBytesValue: &wrappers.BytesValue{[]byte("bytes")},
WrapperFloatValue: &wrappers.FloatValue{Value: 1.5},
WrapperDoubleValue: &wrappers.DoubleValue{Value: 2.5},
WrapperInt64Value: &wrappers.Int64Value{Value: -1},
WrapperInt32Value: &wrappers.Int32Value{Value: -2},
WrapperUInt64Value: &wrappers.UInt64Value{Value: 3},
WrapperUInt32Value: &wrappers.UInt32Value{Value: 4},
WrapperBoolValue: &wrappers.BoolValue{Value: true},
WrapperStringValue: &wrappers.StringValue{Value: "str"},
WrapperBytesValue: &wrappers.BytesValue{Value: []byte("bytes")},
},
},
{
Expand Down

0 comments on commit ae16d78

Please sign in to comment.