-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
$ venom version
Version venom: v1.2.0
Using the replace helper with this testsuite,
name: test
testcases:
- name: test
steps:
- name: get
command: [echo, "https://tututu/lalala?pumpumpum=0&blablabla=1"]
vars:
myurl:
from: result.systemout
- name: upper
command:
- echo
- "{{.myurl | upper}}"
- name: replace
command:
- echo
- "{{.myurl | replace `amp;` ``}}"
I get an error message: failed to execute template: template: input:17:24: executing "input" at <replace amp; ``>: error calling replace: reflect: Call using *interpolate.void as type string. Meanwhile, the upper helper is working. How can I strip amp; from the url?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels