diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-26 11:35:05 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-26 11:38:58 +0800 |
commit | 519e4c44720be9b0c8584cb53a902bc1e5bfe3a3 (patch) | |
tree | c22f82a0c739a99729d3d07a2af228b31dacaf4e /test/unit | |
parent | 5d159a7faad913852c65c81dcc976cf4be902fc1 (diff) | |
download | rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.tar.gz rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.tar.bz2 rneovim-519e4c44720be9b0c8584cb53a902bc1e5bfe3a3.zip |
test: correct order of arguments to eq() and neq()
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/os/env_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/os/env_spec.lua b/test/unit/os/env_spec.lua index a0e02b6624..c039b95d16 100644 --- a/test/unit/os/env_spec.lua +++ b/test/unit/os/env_spec.lua @@ -154,7 +154,7 @@ describe('env.c', function() local value = 'TESTVALUE' os_setenv(name, value, 1) eq(OK, os_unsetenv(name)) - neq(os_getenv(name), value) + neq(value, os_getenv(name)) -- Depending on the platform the var might be unset or set as '' assert.True(os_getenv(name) == nil or os_getenv(name) == '') if os_getenv(name) == nil then |