Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit638ba78

Browse files
committed
Tests are initialized.
1 parentb1beaae commit638ba78

File tree

7 files changed

+51
-1
lines changed

7 files changed

+51
-1
lines changed

‎.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
*.py[cod]
2-
.vimrc
32
*.sw?
43
*~
54
.DS_Store
5+
.bundle
66
.ropeproject
7+
.vim-flavor
8+
.vimrc
9+
Gemfile.lock
10+
VimFlavor.lock
711
tags
12+
test.py
813
todo.txt
14+
vendor

‎.ruby-gemset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vim-flavor

‎.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-1.9.3

‎Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source'https://rubygems.org'
2+
3+
gem'vim-flavor','~> 1.1'

‎Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
.PHONY: clean
22
clean:
33
find. -name"*.pyc" -delete
4+
5+
.PHONY: test
6+
test:
7+
raketest

‎Rakefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env rake
2+
3+
task:ci=>[:dump,:test]
4+
5+
task:dumpdo
6+
sh'vim --version'
7+
end
8+
9+
task:testdo
10+
sh'bundle exec vim-flavor test'
11+
end

‎t/pymode.vim

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
filetypepluginindenton
2+
3+
describe'pymode'
4+
5+
it'pymode disabled by default'
6+
Expectget(g:,'pymode',42)==42
7+
end
8+
9+
it'pymode loading'
10+
et/test.py
11+
Expectg:pymode==1
12+
Expectg:pymode_init==1
13+
Expectg:pymode_path==1
14+
Expectg:pymode_lint==1
15+
end
16+
17+
it'pymode python interpreter'
18+
e test.py
19+
Pythonvim.current.buffer.append('Python is working.',0)
20+
Expectgetline(1)=='Python is working.'
21+
w
22+
end
23+
24+
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp