Skip to content

Commit 2659888

Browse files
authored
Merge pull request #51 from mgeisler/ensure-version-number-consistency
Ensure version number consistency
2 parents 41a0424 + 827ed2e commit 2659888

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ no_std = [] # This is a no-op, preserved for backward compatibility only.
2323

2424
[dev-dependencies]
2525
quickcheck = "0.7"
26+
version-sync = "0.8"

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ unicode-segmentation = "1.2.1"
4545

4646
# Change Log
4747

48+
## 1.2.1
49+
50+
* [#37](https://github.com/unicode-rs/unicode-segmentation/pull/37):
51+
Fix panic in `provide_context`.
52+
* [#40](https://github.com/unicode-rs/unicode-segmentation/pull/40):
53+
Fix crash in `prev_boundary`.
54+
4855
## 1.2.0
4956

5057
* New `GraphemeCursor` API allows random access and bidirectional iteration.

tests/version-numbers.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#[test]
2+
fn test_readme_deps() {
3+
version_sync::assert_markdown_deps_updated!("README.md");
4+
}
5+
6+
#[test]
7+
fn test_readme_changelog() {
8+
version_sync::assert_contains_regex!("README.md", r"^## {version}$");
9+
}
10+
11+
#[test]
12+
fn test_html_root_url() {
13+
version_sync::assert_html_root_url_updated!("src/lib.rs");
14+
}

0 commit comments

Comments
 (0)