Skip to content

Commit d0bb258

Browse files
authored
Merge pull request #128 from ltratt/langtester_0_9_0
Prepare a 0.9.0 release.
2 parents b49e3f4 + e24a882 commit d0bb258

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# lang_tester 0.9.0 (2024-08-30)
2+
3+
## Breaking change
4+
5+
* Update the [fm](https://crates.io/crates/fm) dependency, which has breaking
6+
changes, as well as [several new
7+
features](https://github.com/softdevteam/fm/blob/master/CHANGES.md#fm-040-2024-08-30).
8+
9+
110
# lang_tester 0.8.2 (2024-07-18)
211

312
* Sort test failures by name rather than the previous arbitrary order.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "lang_tester"
33
description = "Concise language testing framework for compilers and VMs"
44
repository = "https://github.com/softdevteam/lang_tester/"
5-
version = "0.8.2"
5+
version = "0.9.0"
66
authors = ["Laurence Tratt <[email protected]>"]
77
readme = "README.md"
88
license = "Apache-2.0/MIT"
@@ -23,7 +23,7 @@ path = "lang_tests/rerun/main.rs"
2323
harness = false
2424

2525
[dependencies]
26-
fm = "0.3"
26+
fm = "0.4.0"
2727
getopts = "0.2"
2828
libc = "0.2"
2929
num_cpus = "1.15"

deny.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[licenses]
2-
unlicensed = "deny"
32
confidence-threshold = 1.0
43
allow = [
54
"Apache-2.0",
6-
"BSD-3-Clause",
75
"MIT",
86
"Unlicense"
97
]

examples/fm_options/run_tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ fn main() {
2525
.fm_options(|_, _, fmb| {
2626
let ptn_re = Regex::new(r"\$.+?\b").unwrap();
2727
let text_re = Regex::new(r".+?\b").unwrap();
28-
fmb.name_matcher(ptn_re, text_re)
29-
.ignore_leading_whitespace(false)
28+
fmb.name_matcher(ptn_re, text_re).trim_whitespace(false)
3029
})
3130
.test_cmds(move |p| {
3231
let mut vm = Command::new("python3");

lang_tests/rerun/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ fn main() {
5050
.fm_options(|_, _, fmb| {
5151
let ptn_re = Regex::new(r"\$.+?\b").unwrap();
5252
let text_re = Regex::new(r".+?\b").unwrap();
53-
fmb.name_matcher(ptn_re, text_re)
54-
.ignore_leading_whitespace(false)
53+
fmb.name_matcher(ptn_re, text_re).trim_whitespace(false)
5554
})
5655
.test_cmds(move |p| {
5756
let mut vm = Command::new("python3");

0 commit comments

Comments
 (0)