Skip to content

Commit

Permalink
csv2table/test.sh: add markdown test
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrargyrum committed Sep 17, 2024
1 parent afa4e45 commit 9593bda
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions csv2table/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ check <<- EOF
+----------+--------+
EOF

# markdown
init --header --markdown <<- EOF
name,color
zucchini,green
tomato,red
banana,yellow
orange,orange
EOF

check <<- EOF
| name | color |
| :--------| :------|
| zucchini | green |
| tomato | red |
| banana | yellow |
| orange | orange |
EOF

0 comments on commit 9593bda

Please sign in to comment.