aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_filetype.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
index ec710f461a..62053f1c2c 100644
--- a/test/old/testdir/test_filetype.vim
+++ b/test/old/testdir/test_filetype.vim
@@ -2718,4 +2718,15 @@ func Test_make_file()
filetype off
endfunc
+func Test_org_file()
+ filetype on
+
+ call writefile(['* org Headline', '*some bold text*', '/some italic text/'], 'Xfile.org', 'D')
+ split Xfile.org
+ call assert_equal('org', &filetype)
+ bwipe!
+
+ filetype off
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab