From b77b1a06534ae92edcab8c6eb5c9bc3e29c2e96f Mon Sep 17 00:00:00 2001
From: Vlad Stan <stan.v.vlad@gmail.com>
Date: Wed, 2 Sep 2020 11:16:43 +0300
Subject: [PATCH] add unit tests for three uncovered cases

---
 test/fixtures/embed.json | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/test/fixtures/embed.json b/test/fixtures/embed.json
index 40e43cd..3ab2ddf 100644
--- a/test/fixtures/embed.json
+++ b/test/fixtures/embed.json
@@ -44,6 +44,36 @@
       "arguments": {
         "output": "OP_1 OP_2 OP_ADD"
       }
+    },
+    {
+      "description": "Return value and data do not match",
+      "exception": "Data mismatch",
+      "options": {},
+      "arguments": {
+        "output": "OP_RETURN a3b147dbe4a85579fc4b5a1811e76620560e07267e62b9a0d6858f9127735cadd82f67e06c24dbc4",
+        "data": [
+          "a3b147dbe4a85579fc4b5a1855555555555555555555555555555555555555555555555555555555"
+        ]
+      }
+    },
+    {
+      "description": "Script length incorrect",
+      "exception": "Data mismatch",
+      "options": {},
+      "arguments": {
+        "output": "OP_RETURN a3b1 47db",
+        "data": [
+          "a3b1"
+        ]
+      }
+    },
+    {
+      "description": "Return data is not buffer",
+      "exception": "Output is invalid",
+      "options": {},
+      "arguments": {
+        "output": "OP_RETURN OP_1"
+      }
     }
   ],
   "dynamic": {