summaryrefslogtreecommitdiffstats
path: root/spec/loading_spec.rb
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-05-31 23:42:04 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-05-31 23:42:04 +0200
commit62f004c3da465152e85c2e95f6b21076f2708b6b (patch)
treebc58959730ed8f087e930acdaebeac597a959c6d /spec/loading_spec.rb
parentc73ea49ecb3a8e0cde152ce6c8155bbd73c4378d (diff)
downloadvim-polyglot-62f004c3da465152e85c2e95f6b21076f2708b6b.tar.gz
vim-polyglot-62f004c3da465152e85c2e95f6b21076f2708b6b.zip
Update travis script
Diffstat (limited to 'spec/loading_spec.rb')
-rw-r--r--spec/loading_spec.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/loading_spec.rb b/spec/loading_spec.rb
deleted file mode 100644
index e9e1f3b8..00000000
--- a/spec/loading_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'spec_helper'
-require 'timeout'
-
-describe "My Vim plugin" do
-
- extensions = `cat ftdetect/polyglot.vim | grep '^au' | tr "\t" ' ' | cut -d ' ' -f 3 | grep -v / | grep -v '^\*$' | grep -v '^$'`.strip
-
- extensions.gsub!(/\[(.).+\]/) { $1 }.gsub!('*', 'test')
-
- extensions = extensions.split(/[\n,]/)
-
- extensions.sort!.uniq!.each do |ext|
- if ext.match?(/^[a-z\.]+$/i)
- it "should parse #{ext} file" do
- Timeout::timeout(20) do
- write_file "#{ext}", ""
- vim.edit "#{ext}"
- vim.insert "sample"
- vim.write
- end
- end
- end
- end
-
- after(:all) do
- vim.kill
- end
-end