Merge pull request #123 from gchq/feature-comment

Feature: 'Comment' operation
This commit is contained in:
n1474335 authored and GitHub committed 2017-05-02 21:05:58 +01:00
commit c7611fbc05
4 files changed
+59

No files matched your search

+30
View File
@@ -111,4 +111,34 @@ TestRegister.addTests([
},
],
},
{
name: "Comment: nothing",
input: "",
expectedOutput: "",
recipeConfig: [
{
"op": "Comment",
"args": [""]
}
]
},
{
name: "Fork, Comment, Base64",
input: "cat\nsat\nmat",
expectedOutput: "Y2F0\nc2F0\nbWF0\n",
recipeConfig: [
{
"op": "Fork",
"args": ["\\n", "\\n", false]
},
{
"op": "Comment",
"args": ["Testing 123"]
},
{
"op": "To Base64",
"args": ["A-Za-z0-9+/="]
}
]
},
]);