Skip to content

Commit 48fb49c

Browse files
update tests to work on latest stable
The change in [1] is now in stable. [1]: rust-lang/rust#83079
1 parent 1188751 commit 48fb49c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
rust: [stable, nightly, 1.45.2]
12+
rust: [stable, nightly, 1.53.0]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions-rs/toolchain@v1
@@ -20,7 +20,5 @@ jobs:
2020
- run: make
2121
- run: cargo build --release
2222
- run: cargo test --release
23-
# Tests are broken on nightly due to https://github.com/rust-lang/rust/pull/83079.
24-
if: ${{ matrix.rust != 'nightly' }}
2523
- run: cargo fmt -- --check
2624
- run: cargo clippy

tests/lmf.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn t() {
4141
LexicalEntry {
4242
id: "ewn--ap-hood-n",
4343
lemma: Lemma {
44-
written_form: "\'hood",
44+
written_form: "'hood",
4545
part_of_speech: Noun,
4646
},
4747
forms: [],
@@ -56,7 +56,7 @@ fn t() {
5656
LexicalEntry {
5757
id: "ewn--ap-s_Gravenhage-n",
5858
lemma: Lemma {
59-
written_form: "\'s Gravenhage",
59+
written_form: "'s Gravenhage",
6060
part_of_speech: Noun,
6161
},
6262
forms: [],
@@ -71,7 +71,7 @@ fn t() {
7171
LexicalEntry {
7272
id: "ewn--ap-tween-r",
7373
lemma: Lemma {
74-
written_form: "\'tween",
74+
written_form: "'tween",
7575
part_of_speech: Adverb,
7676
},
7777
forms: [],
@@ -86,7 +86,7 @@ fn t() {
8686
LexicalEntry {
8787
id: "ewn--ap-tween_decks-r",
8888
lemma: Lemma {
89-
written_form: "\'tween decks",
89+
written_form: "'tween decks",
9090
part_of_speech: Adverb,
9191
},
9292
forms: [],
@@ -360,7 +360,7 @@ fn t() {
360360
id: "ewn-00001740-a",
361361
part_of_speech: Adjective,
362362
definitions: [
363-
"(usually followed by `to\') having the necessary means or skill or know-how or authority to do something",
363+
"(usually followed by `to') having the necessary means or skill or know-how or authority to do something",
364364
],
365365
examples: [
366366
"\"able to swim\"",

0 commit comments

Comments
 (0)