Skip to content

Commit f7b6691

Browse files
committed
Bump version to 3.3.0
1 parent 21212e2 commit f7b6691

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 3.3.0
4+
### Features
5+
* Allow comments in `test-matrix` macro (#132)
6+
7+
### Changes
8+
* Drop `proc-macro-error` dependency & improve error messages (#136)
9+
310
## 3.2.1
411
### Changes
512
* Update `syn` dependency to 2.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case"
3-
version = "3.2.1"
3+
version = "3.3.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Crate has to be added as a dependency to `Cargo.toml`:
1616

1717
```toml
1818
[dev-dependencies]
19-
test-case = "3.2.1"
19+
test-case = "*"
2020
```
2121

2222
and imported to the scope of a block where it's being called
@@ -79,13 +79,13 @@ mod tests {
7979
use test_case::test_matrix;
8080

8181
#[test_matrix(
82-
[4, 6, 8],
83-
[1, 3, 5]
82+
[-2, 2],
83+
[-4, 4]
8484
)]
8585
fn multiplication_tests(x: i8, y: i8) {
86-
let product = x * y;
86+
let actual = (x * y).abs();
8787

88-
assert_eq!(0, product % 2)
88+
assert_eq!(8, actual)
8989
}
9090
}
9191
```

crates/test-case-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case-core"
3-
version = "3.2.1"
3+
version = "3.3.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides core functionality for parsing #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

crates/test-case-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "test-case-macros"
3-
version = "3.2.1"
3+
version = "3.3.0"
44
edition = "2021"
55
authors = ["Marcin Sas-Szymanski <marcin.sas-szymanski@anixe.pl>", "Wojciech Polak <frondeus@gmail.com>", "Łukasz Biel <lukasz.p.biel@gmail.com>"]
66
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"

0 commit comments

Comments
 (0)