aboutsummaryrefslogtreecommitdiff
path: root/script_example_test.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-04-15 17:53:50 +0700
committerShulhan <m.shulhan@gmail.com>2020-04-15 17:53:50 +0700
commit498b36ad524dc1ba8cdc7e0c5a51617c0c4d714e (patch)
tree8903ba4a776d92c4ecdd81b4c9ec76f052a31075 /script_example_test.go
parent2d3b86f7c477694cb286cb3245836cf622805a4d (diff)
downloadawwan-498b36ad524dc1ba8cdc7e0c5a51617c0c4d714e.tar.xz
all: refactoring the environment
This change remove the command mode "bootstrap" and replace default environment file from "env.ini" to "awwan.env".
Diffstat (limited to 'script_example_test.go')
-rw-r--r--script_example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/script_example_test.go b/script_example_test.go
index 472f439..6f89a51 100644
--- a/script_example_test.go
+++ b/script_example_test.go
@@ -20,7 +20,7 @@ command {{.Val "section::key"}};\
end;
`
env := &Environment{}
- env.parseEnvironment([]byte(envContent))
+ env.parse([]byte(envContent))
s := parseScript(env, []byte(scriptContent))