From 891744431e71823748e1e3a6c2f0908648727818 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Tue, 9 Oct 2012 16:05:25 -0700 Subject: [PATCH] UT: test for empty string with stringToHex and hexToString. --- test/standalone-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/standalone-test.js b/test/standalone-test.js index 572b0d0b51..640c274860 100644 --- a/test/standalone-test.js +++ b/test/standalone-test.js @@ -24,6 +24,9 @@ buster.testCase("Utils", { }, "Under 10: 1" : function () { buster.assert.equals("01", utils.stringToHex(utils.hexToString("1"))); + }, + "Empty" : function () { + buster.assert.equals("", utils.stringToHex(utils.hexToString(""))); } } });