Skip to content

Commit 9332c65

Browse files
committed
[tests] test auto-naming in new sheet #2855
1 parent d6251a0 commit 9332c65

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

tests/golden/pr2855.tsv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
A B C D E F G H I
2+
1 1 1 1 1 1 1 1
3+
2 2 2 2 2 2 2 2
4+
3 3 3 3 3 3 3 3

tests/pr2855.vdj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!vd -p
2+
{"sheet": null, "col": "", "row": "", "longname": "open-file", "input": "sample_data/sample.tsv", "keystrokes": "o", "comment": null, "replayable": true}
3+
{"sheet": "sample", "col": "OrderDate", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
4+
{"sheet": "sample", "col": "A", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
5+
{"sheet": "sample", "col": "B", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
6+
{"sheet": "sample", "col": "C", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
7+
{"col": "", "row": "", "longname": "open-new", "input": "", "keystrokes": "Shift+A", "comment": "Open new empty sheet", "replayable": true}
8+
{"sheet": "unnamed", "col": "", "row": "", "longname": "add-row", "input": "", "keystrokes": "a", "comment": "append a blank row", "replayable": true}
9+
{"sheet": "unnamed", "col": "", "row": 0, "longname": "add-row", "input": "", "keystrokes": "a", "comment": "append a blank row", "replayable": true}
10+
{"sheet": "unnamed", "col": "", "row": 1, "longname": "add-row", "input": "", "keystrokes": "a", "comment": "append a blank row", "replayable": true}
11+
{"sheet": "unnamed", "col": "A", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
12+
{"sheet": "unnamed", "col": "B", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
13+
{"sheet": "unnamed", "col": "C", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
14+
{"sheet": "unnamed", "col": "D", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
15+
{"sheet": "sample", "col": "D", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
16+
{"sheet": "sample", "col": "E", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
17+
{"sheet": "sample", "col": "F", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
18+
{"sheet": "sample", "col": "G", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
19+
{"sheet": "unnamed", "col": "E", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
20+
{"sheet": "unnamed", "col": "F", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
21+
{"sheet": "unnamed", "col": "G", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}
22+
{"sheet": "unnamed", "col": "H", "row": "", "longname": "addcol-incr", "input": "", "keystrokes": "i", "comment": "add column with incremental values", "replayable": true}

0 commit comments

Comments
 (0)