mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +00:00
UT: test for empty string with stringToHex and hexToString.
This commit is contained in:
@@ -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("")));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user