add test cases

This commit is contained in:
Hiroyasu Nishiyama
2019-01-30 00:04:41 +09:00
parent 6937aa5ddd
commit 0b05b883cb
2 changed files with 81 additions and 11 deletions

View File

@@ -589,19 +589,10 @@ RED.editor = (function() {
var name = nf.val();
var value = vf.typedInput("value");
var type = vf.typedInput("type");
var info = {
name: name,
label: "",
value: value,
type: type,
target_type: "env var",
target: name
};
var item = {
name: name,
type: type,
value: value,
info: info
value: value
};
env.push(item);
});