Skip to content

Commit 8378c01

Browse files
committed
Add rest of test data files
1 parent 6063a32 commit 8378c01

12 files changed

Lines changed: 25 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tags
2-
a.*
2+
b.*
33
vader.vim
44
vim-repeat

test/basic.vader

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Include: env_setup.vader
99
" - Add Debugging string when I am on an empty line
1010
" - Add a variable debugging string when I am in a line that has text
1111
After ():
12+
Log(&filetype)
1213
execute l1_text - 1
1314
AssertEqual getline('.'), 'And each in your season', "Current line contents don't match"
1415
:normal ,ds
@@ -44,10 +45,10 @@ Execute (Java):
4445
:set filetype=java
4546
Execute (Python):
4647
:set filetype=python
47-
" Execute (Ruby):
48-
" :set filetype=rb
4948
Execute (R):
5049
:set filetype=r
50+
Execute (Ruby):
51+
:set filetype=ruby
5152
Execute (Shell):
5253
:set filetype=sh
5354
Execute (Vim):

test/ft/a.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
printf("[[Vader-workbench]:$1$] DEBUGGING STRING ==> %d\n", $2$);
2+
printf("a**2 + b**2: %d\n", a**2 + b**2);
3+

test/ft/a.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
message(STATUS "[[Vader-workbench]:$1$] DEBUGGING STRING ==> $2$")
2+
message(STATUS "a**2 + b**2: ${a**2 + b**2}")

test/ft/a.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
std::cout << "[[Vader-workbench]:$1$] DEBUGGING STRING ==> " << $2$ << std::endl;
2+
std::cout << "a**2 + b**2: " << a**2 + b**2 << std::endl;

test/ft/a.haskell

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
putStrLn "[[Vader-workbench]:$1$] DEBUGGING STRING ==> " ++ $2$
2+
putStrLn "a**2 + b**2: " ++ a**2 + b**2

test/ft/a.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
System.out.println("[[Vader-workbench]:$1$] DEBUGGING STRING ==> " + $2$);
2+
System.out.println("a**2 + b**2: " + a**2 + b**2);

test/ft/a.python

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
print("[[Vader-workbench]:$1$] DEBUGGING STRING ==> ", $2$)
2+
print("a**2 + b**2: ", a**2 + b**2)

test/ft/a.r

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
message(sprintf("[[Vader-workbench]:$1$] DEBUGGING STRING ==> %s\n", $2$))
2+
message(sprintf("a**2 + b**2: %s\n", a**2 + b**2))

test/ft/a.ruby

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
puts "[[Vader-workbench]:$1$] DEBUGGING STRING ==> $2$"
2+
puts "a**2 + b**2: #{a**2 + b**2}"

0 commit comments

Comments
 (0)