Skip to content

Commit cc2d097

Browse files
authored
Merge pull request #2 from woshilapin/tests
[tech] Separate procmacro_tests into a standalone crate for tests
2 parents 7a1f1bc + cda3125 commit cc2d097

File tree

11 files changed

+18
-11
lines changed

11 files changed

+18
-11
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ keywords = ["relation", "collection"]
1515
[workspace]
1616
members = [
1717
"relations_procmacro",
18+
"relations_procmacro_tests",
1819
]
1920

2021
[dependencies]

relations_procmacro/Cargo.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,10 @@ edition = "2018"
77
license = "MIT"
88
repository = "https://github.com/CanalTP/relations"
99
keywords = ["macro", "floyd_marshall"]
10-
autotests = false
1110

1211
[lib]
1312
proc-macro = true
1413

1514
[dependencies]
1615
syn = "0.11.11"
1716
quote = "0.3.15"
18-
19-
[dev-dependencies]
20-
pretty_assertions = "0.6"
21-
trybuild = "1"
22-
typed_index_collection = "1"
23-
relations = { version = "1", path = "../" }
24-
25-
[[test]]
26-
name = "tests"
27-
path = "tests/tests.rs"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "relations_procmacro_tests"
3+
version = "0.0.0"
4+
authors = ["Kisio Digital <team.coretools@kisio.org>", "Guillaume Pinot <texitoi@texitoi.eu>"]
5+
edition = "2018"
6+
publish = false
7+
autotests = false
8+
9+
[dev-dependencies]
10+
pretty_assertions = "0.6"
11+
trybuild = "1"
12+
typed_index_collection = "1"
13+
relations = { version = "1", path = "../" }
14+
15+
[[test]]
16+
name = "tests"
17+
path = "tests/tests.rs"
File renamed without changes.
File renamed without changes.
File renamed without changes.

relations_procmacro/tests/03-non-supported-argument.rs renamed to relations_procmacro_tests/tests/03-non-supported-argument.rs

File renamed without changes.

relations_procmacro/tests/03-non-supported-argument.stderr renamed to relations_procmacro_tests/tests/03-non-supported-argument.stderr

File renamed without changes.

relations_procmacro/tests/04-get-corresponding-without-data.rs renamed to relations_procmacro_tests/tests/04-get-corresponding-without-data.rs

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)