From 93d6b237724d9bed2da26a333d79a5873a1db7e3 Mon Sep 17 00:00:00 2001
From: Florrie <towerofnix@gmail.com>
Date: Sat, 9 Jun 2018 21:52:46 -0300
Subject: [PATCH] Test for getCostumeName

---
 test/unit/blocks_looks.js | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/test/unit/blocks_looks.js b/test/unit/blocks_looks.js
index c7b4c3d7b..e5d0ab2ff 100644
--- a/test/unit/blocks_looks.js
+++ b/test/unit/blocks_looks.js
@@ -34,8 +34,15 @@ test('getCostumeNumberName returns 1-indexed costume number', t => {
 test('getCostumeNumberName can return costume name', t => {
     util.target.currentCostume = 0; // This is 0-indexed.
     const args = {NUMBER_NAME: 'name'};
-    const number = blocks.getCostumeNumberName(args, util);
-    t.strictEqual(number, 'first name');
+    const name = blocks.getCostumeNumberName(args, util);
+    t.strictEqual(name, 'first name');
+    t.end();
+});
+
+test('getCostumeName returns costume name', t => {
+    util.target.currentCostume = 0; // This is 0-indexed.
+    const name = blocks.getCostumeNumberName({}, util);
+    t.strictEqual(name, 'first name');
     t.end();
 });