Skip to content

Commit ab508dd

Browse files
committed
- [!] make testing works both locally & on travis
1 parent 1c92525 commit ab508dd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/list0E.ref

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
The colors are: red, blue, white, .
22
The system shell is: /bin/bash
3-
Different shells are: /bin/bash-red, /bin/bash-blue, /bin/bash-white,

test/list0E.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
The colors are: {{range .Colors}}{{.}}, {{end}}.
2-
The system shell is: {{ENV "SHELL"}}
3-
Different shells are: {{range .Colors}}{{ENV "SHELL"}}-{{.}}, {{end}}
2+
The system shell is: {{stringsReplace (ENV "SHELL") "/usr" "" 1}}

0 commit comments

Comments
 (0)