aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/job_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-04 06:58:04 -0700
committerGitHub <noreply@github.com>2019-09-04 06:58:04 -0700
commit540360a775a62db5c2722bfd89b6aa91b577d945 (patch)
tree9c0d0f5a95da8151468a26964dc2a36b586aa7bc /test/functional/core/job_spec.lua
parent9cc8064864374cf85c4273299d42094e3c687941 (diff)
downloadrneovim-540360a775a62db5c2722bfd89b6aa91b577d945.tar.gz
rneovim-540360a775a62db5c2722bfd89b6aa91b577d945.tar.bz2
rneovim-540360a775a62db5c2722bfd89b6aa91b577d945.zip
test: is_os() #10933
- Move os_name() up to "global helpers". - Rename it to is_os(). - Make it depend on uname() instead of a running Nvim instance.
Diffstat (limited to 'test/functional/core/job_spec.lua')
-rw-r--r--test/functional/core/job_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index 88951e5b51..94b34ef05b 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -206,7 +206,7 @@ describe('jobs', function()
it("will not buffer data if it doesn't end in newlines", function()
if helpers.isCI('travis') and os.getenv('CC') == 'gcc-4.9'
- and helpers.os_name() == "osx" then
+ and helpers.is_os('mac') then
-- XXX: Hangs Travis macOS since e9061117a5b8f195c3f26a5cb94e18ddd7752d86.
pending("[Hangs on Travis macOS. #5002]", function() end)
return