summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/state_test.go
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-05-08 17:23:06 -0700
committerShentubot <shentubot@google.com>2018-05-08 17:23:50 -0700
commitad278d69447ddca9c6923e5e830c12f1329438b9 (patch)
tree64de050fb8971a2e9f731e1b15b85c45b5597659 /pkg/state/state_test.go
parent10a2cfc6a9216cb32e3a930016178d3c15ccc383 (diff)
state: serialize string as bytes instead of protobuf string.
Protobuf strings have to be UTF-8 encoded or 7-bit ASCII. PiperOrigin-RevId: 195902557 Change-Id: I9800afd47ecfa6615e28a2cce7f2532f04f10763
Diffstat (limited to 'pkg/state/state_test.go')
-rw-r--r--pkg/state/state_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/state/state_test.go b/pkg/state/state_test.go
index d5a739f18..38ad9da9c 100644
--- a/pkg/state/state_test.go
+++ b/pkg/state/state_test.go
@@ -430,6 +430,7 @@ func TestTypes(t *testing.T) {
"",
"foo",
"bar",
+ "\xa0",
},
},
{