Skip to content

Commit

Permalink
Test for += on an undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Feb 15, 2024
1 parent 07f0abf commit d6e4212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/reftests/env.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ setenv: [
[ NV_VARS3 := "" ]
[ NV_VARS3 := "foo" ]
[ NV_VARS4 = "" ]
[ NV_VARS5 += "" ] # undefined in the environment
]
flags: compiler
### opam switch create emptyvar nv
Expand Down

0 comments on commit d6e4212

Please sign in to comment.