diff options
| author | jk <email@jkrause.io> | 2024-01-31 15:13:52 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-02 07:21:01 +0000 |
| commit | ab1450c655f7fdfc214e1556d16fc754ca684613 (patch) | |
| tree | 9ded305354a272d411059493e9475a3e39ff5cae /nostr_git_remote_helper/src/main.rs | |
| parent | ccdbc337ae16d7c70be44166269c8b2d5b9f5c09 (diff) | |
test: replace block_on with tokio::tests
This is intended to improve the reliabilty of the tests. there have been
particular issues with random tests never ending when run in the nix
configuration
see discussion here
https://github.com/DanConwayDev/ngit-cli/issues/
6#issuecomment-1918971239
and:
https://github.com/DanConwayDev/ngit-cli/pull/7
Diffstat (limited to 'nostr_git_remote_helper/src/main.rs')
| -rw-r--r-- | nostr_git_remote_helper/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nostr_git_remote_helper/src/main.rs b/nostr_git_remote_helper/src/main.rs index 898f069..849396c 100644 --- a/nostr_git_remote_helper/src/main.rs +++ b/nostr_git_remote_helper/src/main.rs | |||
| @@ -33,7 +33,7 @@ async fn main() -> Result<()> { | |||
| 33 | match &cli.command { | 33 | match &cli.command { |
| 34 | Commands::Capabilities() => sub_commands::capabilities::launch(), | 34 | Commands::Capabilities() => sub_commands::capabilities::launch(), |
| 35 | Commands::Placeholder(args) => { | 35 | Commands::Placeholder(args) => { |
| 36 | futures::executor::block_on(sub_commands::placeholder::launch(&cli, args)) | 36 | sub_commands::placeholder::launch(&cli, args).await |
| 37 | } | 37 | } |
| 38 | } | 38 | } |
| 39 | } | 39 | } |