Skip to content

Commit

Permalink
Bump version to 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-biel committed Nov 17, 2023
1 parent 21212e2 commit f7b6691
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.3.0
### Features
* Allow comments in `test-matrix` macro (#132)

### Changes
* Drop `proc-macro-error` dependency & improve error messages (#136)

## 3.2.1
### Changes
* Update `syn` dependency to 2.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case"
version = "3.2.1"
version = "3.3.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Crate has to be added as a dependency to `Cargo.toml`:

```toml
[dev-dependencies]
test-case = "3.2.1"
test-case = "*"
```

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

#[test_matrix(
[4, 6, 8],
[1, 3, 5]
[-2, 2],
[-4, 4]
)]
fn multiplication_tests(x: i8, y: i8) {
let product = x * y;
let actual = (x * y).abs();

assert_eq!(0, product % 2)
assert_eq!(8, actual)
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion crates/test-case-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case-core"
version = "3.2.1"
version = "3.3.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides core functionality for parsing #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-case-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case-macros"
version = "3.2.1"
version = "3.3.0"
edition = "2021"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>", "Łukasz Biel <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down

0 comments on commit f7b6691

Please sign in to comment.