Merge nucleic/sleek-thistle-egret-fyej into dev
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: "set -a"
|
||||
cases:
|
||||
- name: "set -a"
|
||||
stdin: |
|
||||
v1=1 v2=2 v3=3 v4=4 v5=(a b c)
|
||||
declare -p v1 v2 v3 v4
|
||||
|
||||
set -a
|
||||
v1=reassigned
|
||||
v2+=appended
|
||||
declare -i v3
|
||||
v4+=(appended)
|
||||
v5[2]=updated
|
||||
v6=new
|
||||
v7[0]=new
|
||||
v8=(new)
|
||||
declare v9=new
|
||||
declare -a v10=(new)
|
||||
|
||||
declare -p v1 v2 v3 v4 v5 v6 v7 v8 v9 v10
|
||||
Reference in New Issue
Block a user