diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-08 10:57:51 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-08 10:57:51 +0000 |
| commit | 075307804bf66bba10f5bc55cb40e2e6a98a65ee (patch) | |
| tree | f5a3eb2738372582e28a9a55a8f9481f0af9594b /tests | |
| parent | f75e1c59aacf5ce668fd327e4e3d827511661c2a (diff) | |
chore: upgrade nostr-* packages to rev 4767ad13
- Update nostr-relay-builder, nostr-sdk, nostr-lmdb to latest revision
- Update grasp-audit nostr-sdk dependency
- Fix clippy warnings:
- Replace .clone() with std::slice::from_ref() in src/git/sync.rs
- Change &PathBuf to &Path in tests/common/git_server.rs
- Replace vec![] with array literal in src/purgatory/sync/functions.rs
- Update PR_TEST_COMMIT_HASH in grasp-audit due to event generation changes
All 249 tests passing, no breaking changes required.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/common/git_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/git_server.rs b/tests/common/git_server.rs index d0d727e..9fb62df 100644 --- a/tests/common/git_server.rs +++ b/tests/common/git_server.rs | |||
| @@ -282,7 +282,7 @@ fn is_safe_path(path: &Path, repo_path: &Path) -> bool { | |||
| 282 | } | 282 | } |
| 283 | 283 | ||
| 284 | /// Guess the content type for a git-related file. | 284 | /// Guess the content type for a git-related file. |
| 285 | fn guess_content_type(path: &PathBuf) -> &'static str { | 285 | fn guess_content_type(path: &Path) -> &'static str { |
| 286 | let filename = path.file_name().and_then(|n| n.to_str()).unwrap_or(""); | 286 | let filename = path.file_name().and_then(|n| n.to_str()).unwrap_or(""); |
| 287 | 287 | ||
| 288 | if filename == "info/refs" || filename == "refs" { | 288 | if filename == "info/refs" || filename == "refs" { |