Skip to content

Commit

Permalink
- Fixed file hierarchy
Browse files Browse the repository at this point in the history
- Returned the original AmbiguityTests
  • Loading branch information
vkhorikov authored and rutkowskit committed Sep 6, 2022
1 parent becbf55 commit 9945a18
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ await result
.Bind(async _ => await GetTask());
}

private ValueTask<Result<Profile>> GetProfileAsync() =>
Result.Try(valueTask: async () =>
private Task<Result<Profile>> GetProfileAsync() =>
Result.Try(async () =>
{
await Task.Yield();
return new Profile();
});

private ValueTask<Result<Profile, Error>> GetProfileWithErrorAsync() =>
Result.Try(valueTask: async () =>
private Task<Result<Profile, Error>> GetProfileWithErrorAsync() =>
Result.Try(async () =>
{
await Task.Yield();
Expand Down

0 comments on commit 9945a18

Please sign in to comment.