aboutsummaryrefslogtreecommitdiffstats
path: root/RLPTests
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-18 08:23:44 +0800
committerFelix Lange <fjl@twurst.com>2015-07-18 08:23:44 +0800
commite049a7f77dd877ce469b7ef4b4106d60b0f3491f (patch)
tree7d9a7345625c61d45aad17de0bd039dcbfb3f498 /RLPTests
parentf804e0e372582bb92db2f835108ddbdfc4f32439 (diff)
downloaddexon-tests-e049a7f77dd877ce469b7ef4b4106d60b0f3491f.tar.gz
dexon-tests-e049a7f77dd877ce469b7ef4b4106d60b0f3491f.tar.zst
dexon-tests-e049a7f77dd877ce469b7ef4b4106d60b0f3491f.zip
RLPTests: add test for byte arrays encoded as single byte
Diffstat (limited to 'RLPTests')
-rw-r--r--RLPTests/rlptest.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/RLPTests/rlptest.json b/RLPTests/rlptest.json
index 19adbb8e2..cde3cb3af 100644
--- a/RLPTests/rlptest.json
+++ b/RLPTests/rlptest.json
@@ -3,6 +3,14 @@
"in": "",
"out": "80"
},
+ "zerobytestring": {
+ "in": "\u0000",
+ "out": "00"
+ },
+ "onebytestring": {
+ "in": "\u0001",
+ "out": "01"
+ },
"shortstring": {
"in": "dog",
"out": "83646f67"