From e049a7f77dd877ce469b7ef4b4106d60b0f3491f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Sat, 18 Jul 2015 02:23:44 +0200 Subject: RLPTests: add test for byte arrays encoded as single byte --- RLPTests/rlptest.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'RLPTests') 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" -- cgit