Skip to content

Commit cba69c3

Browse files
committed
Update Agave tag to v3.0.8
1 parent 131277d commit cba69c3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A wrapper around [`anchor test`] for computing test coverage
44

5-
`anchor-coverage` requires a [patched] `solana-test-validator` (see below). The patch is known to work with [Agave v3.0.7](https://github.com/anza-xyz/agave/tree/v3.0.6).
5+
`anchor-coverage` requires a [patched] `solana-test-validator` (see below). The patch is known to work with [Agave v3.0.8](https://github.com/anza-xyz/agave/tree/v3.0.8).
66

77
## Steps to use
88

agave_tag.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.0.7
1+
v3.0.8

tests/ci.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ fn no_package_lock_json() {
8989
}
9090

9191
#[test]
92-
fn readme_contains_agave_tag() {
92+
fn readme_contains_agave_tag_in_two_places() {
9393
let agave_tag = read_to_string("agave_tag.txt")
9494
.map(|s| s.trim_end().to_owned())
9595
.unwrap();
9696
let readme = read_to_string("README.md").unwrap();
97-
assert!(readme.contains(&agave_tag));
97+
let i = readme.find(&agave_tag).unwrap();
98+
assert!(readme[i + agave_tag.len()..].contains(&agave_tag));
9899
}
99100

100101
#[test]

0 commit comments

Comments
 (0)