Skip to content

Commit

Permalink
Make tests less brittle to version changes in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
darach committed Apr 11, 2024
1 parent c899fb2 commit 63f07bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ mod tests {

use super::*;

const VERSION: &str = "0.13.0-rc.17";
const VERSION: &str = env!("CARGO_PKG_VERSION");

#[async_std::test]
async fn backend() -> Result<()> {
Expand Down

0 comments on commit 63f07bc

Please sign in to comment.