Skip to content

Commit 89804f2

Browse files
committed
Rename library tests
1 parent a4a5a72 commit 89804f2

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ that cover certain other edge cases and some integration tests specific to `svg2
2525

2626
# Tests
2727

28-
We use a Python script to generate the `test.rs` file, which tests all of the svg files
28+
We use a Python script to generate the `library.rs` file, which tests all of the svg files
2929
that are part of the test suites. SVG files which don't have a corresponding reference image
3030
will be skipped. To regenerate this file, you can simply run `./scripts/gen-tests.py` and
3131
it should work out of the box.

tests/scripts/gen-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from common import SVG_DIR, ROOT, TestFile
66
from pathlib import Path
77

8-
OUT_PATH = ROOT / "src" / "test.rs"
8+
OUT_PATH = ROOT / "src" / "library.rs"
99

1010
NO_RELATIVE_PATHS = "no relative paths supported"
1111
INVESTIGATE = "need to investigate"

tests/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#[rustfmt::skip]
2-
mod test;
2+
mod library;
3+
mod cli;
34

45
use std::cmp::max;
56
use std::fs;
File renamed without changes.

0 commit comments

Comments
 (0)