Skip to content

Commit 1ac8edb

Browse files
test: set --scale=1 for png tests for 80x speedup
With the default of scale=10 the png tests take 2min. With scale=1 they take 1.5s.
1 parent 369f585 commit 1ac8edb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/cli.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ fn smoke_test_png(in_path: PathBuf) -> Result<(), Failed> {
112112
.arg("--output")
113113
.arg(&out_path)
114114
.arg("--output-format")
115-
.arg("png");
115+
.arg("png")
116+
.arg("--scale=1"); // greatly speeds up tests
116117

117118
cmd.assert().success();
118119

0 commit comments

Comments
 (0)