From 42aee999d7d8b89acf6827ea3a137508305b014e Mon Sep 17 00:00:00 2001 From: engin0223 Date: Fri, 5 Jun 2026 14:45:41 +0300 Subject: [PATCH] fix: add "JSON Beautify" operation to Thrift Deserialize test case --- tests/browser/02_ops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/browser/02_ops.js b/tests/browser/02_ops.js index 88c97c4e..b6a923e5 100644 --- a/tests/browser/02_ops.js +++ b/tests/browser/02_ops.js @@ -356,7 +356,7 @@ module.exports = { testOp(browser, "Tar", "test input", /^file\.txt\x00{92}/); testOp(browser, "Template", "{\"one\": 1, \"two\": 2}", "1 2", ["{{ one }} {{ two }}"]); testOp(browser, ["Thrift Serialize", "To Hex"], "{\"field_1\": { \"type\": \"I32\", \"value\": 100 }}", "08 00 01 00 00 00 64 00"); - testOpHtml(browser, ["From Hex", "Thrift Deserialize"], "08 00 01 00 00 00 64 00", ".json-dict .json-literal", "100", [["Auto"], ["TBinaryProtocol"]]); + testOpHtml(browser, ["From Hex", "Thrift Deserialize", "JSON Beautify"], "08 00 01 00 00 00 64 00", ".json-dict .json-literal", "100", [["Auto"], ["TBinaryProtocol"], []]); testOpHtml(browser, "Text Encoding Brute Force", "test input", "tr:nth-of-type(4) td:last-child", /t\u2400e\u2400s\u2400t\u2400/); // testOp(browser, "To BCD", "test input", "test_output"); // testOp(browser, "To Base", "test input", "test_output");