fix: Update version test to be dynamic

Use dynamic version check instead of hardcoded value to avoid
test failures when workspace version changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rUv 2025-11-27 01:14:19 +00:00
parent b7d12702af
commit df15969eb4

View file

@ -66,6 +66,9 @@ mod tests {
#[test]
fn test_version() {
assert_eq!(env!("CARGO_PKG_VERSION"), "0.1.2");
// Verify version matches workspace - use dynamic check instead of hardcoded value
let version = env!("CARGO_PKG_VERSION");
assert!(!version.is_empty(), "Version should not be empty");
assert!(version.starts_with("0.1."), "Version should be 0.1.x");
}
}