Skip to content

Commit

Permalink
[tests-] save-sheet does not pass confirm-overwrite permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Oct 23, 2023
1 parent acad778 commit 189632f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ for i in $TESTS ; do
if $TEST == true;
then
for goldfn in tests/golden/${outbase%.vd*}.*; do
PYTHONPATH=. bin/vd --debug --confirm-overwrite=False --play "$i" --batch --output "$goldfn" --config tests/.visidatarc --visidata-dir tests/.visidata
PYTHONPATH=. bin/vd --confirm-overwrite=False --play "$i" --batch --output "$goldfn" --config tests/.visidatarc --visidata-dir tests/.visidata
echo "save: $goldfn"
done
fi
Expand Down
3 changes: 1 addition & 2 deletions tests/save-jsonla.vdj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!vd -p
{"longname": "open-file", "input": "sample_data/sample.tsv", "keystrokes": "o"}
{"sheet": null, "col": null, "row": null, "longname": "open-file", "input": "sample_data/sample.tsv", "keystrokes": "o", "comment": null}
{"sheet": "sample", "col": "Units", "row": "", "longname": "type-int", "input": "", "keystrokes": "#", "comment": "set type of current column to int"}
{"sheet": "sample", "col": "Unit_Cost", "row": "", "longname": "type-float", "input": "", "keystrokes": "%", "comment": "set type of current column to float"}
{"sheet": "sample", "col": "Total", "row": "", "longname": "type-float", "input": "", "keystrokes": "%", "comment": "set type of current column to float"}
{"sheet": "sample", "col": "OrderDate", "row": "", "longname": "type-date", "input": "", "keystrokes": "@", "comment": "set type of current column to date"}
{"sheet": "sample", "col": "", "row": "", "longname": "save-sheet", "input": "tests/golden/save-jsonla.jsonla", "keystrokes": "Ctrl+S", "comment": "save current sheet to filename in format determined by extension (default .tsv)"}

0 comments on commit 189632f

Please sign in to comment.