Added three new snapshot tests for --tabs and --wrap.

This commit is contained in:
eth-p committed 2018-09-11 13:47:01 -07:00
1 parent d90797f8e9
commit c1e1f753cf
6 files changed
+153 -26

No files matched your search

+6 -3
View File
@@ -15,9 +15,12 @@ def generate_snapshots():
for style in collective_styles:
generate_style_snapshot(style)
generate_snapshot("tabs_passthrough", "--tabs=0 --style=full")
generate_snapshot("tabs_4", "--tabs=4 --style=full")
generate_snapshot("tabs_8", "--tabs=8 --style=full")
generate_snapshot("tabs_passthrough", "--tabs=0 --style=full --wrap=never")
generate_snapshot("tabs_passthrough_wrapped", "--tabs=0 --style=full --wrap=character")
generate_snapshot("tabs_4", "--tabs=4 --style=full --wrap=never")
generate_snapshot("tabs_4_wrapped", "--tabs=4 --style=full --wrap=character")
generate_snapshot("tabs_8", "--tabs=8 --style=full --wrap=never")
generate_snapshot("tabs_8_wrapped", "--tabs=8 --style=full --wrap=character")
def generate_style_snapshot(style):
generate_snapshot(style.replace(",","_"), "--style={}".format(style))