Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
fix: improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphg6 committed Dec 20, 2023
1 parent 4426eb3 commit a016773
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rule feat_test salience 1000 {
when
true
then
ctx.Put("test", processor.ToMap("{\"percent\":\"%percent\"}"));
ctx.Put("test", processor.ToMap("{\"percent\":\"%percent\",\"hash\":\"#hash\",\"currency\":\"$currency\"}"));
result.Put("test", ctx.GetMap("test"));
Changed("result");
Retract("feat_test");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"test": {
"condition": "true",
"value": {
"percent": "%percent"
"percent": "%percent",
"hash": "#hash",
"currency": "$currency"
},
"dynamic": false,
"type": "object"
Expand Down

0 comments on commit a016773

Please sign in to comment.