mirror of
https://github.com/gchq/CyberChef
synced 2024-12-28 13:33:20 +00:00
26 lines
636 B
JavaScript
26 lines
636 B
JavaScript
/**
|
|
* StrUtils tests.
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
import TestRegister from "../../TestRegister.js";
|
|
|
|
TestRegister.addTests([
|
|
{
|
|
name: "Regex, non-HTML op",
|
|
input: "/<>",
|
|
expectedOutput: "/<>",
|
|
recipeConfig: [
|
|
{
|
|
"op": "Regular expression",
|
|
"args": ["User defined", "", true, true, false, "Highlight matches"]
|
|
},
|
|
{
|
|
"op": "Remove whitespace",
|
|
"args": [true, true, true, true, true, false]
|
|
}
|
|
],
|
|
},
|
|
]);
|