File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
test/Cli/Func.UnitTests/ActionsTests Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (c) .NET Foundation. All rights reserved.
1
+ // Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the MIT License. See LICENSE in the project root for license information.
3
3
4
4
using System . Security . Cryptography ;
@@ -9,7 +9,7 @@ namespace Azure.Functions.Cli.Telemetry
9
9
internal static class Sha256Hasher
10
10
{
11
11
/// <summary>
12
- /// The hashed mac address needs to be the same hashed value as produced by the other distinct sources given the same input. (e.g. VsCode)
12
+ /// The hashed mac address needs to be the same hashed value as produced by the other distinct sources given the same input. (e.g. VsCode).
13
13
/// </summary>
14
14
public static string Hash ( string text )
15
15
{
Original file line number Diff line number Diff line change 21
21
22
22
using Xunit ;
23
23
24
-
25
24
namespace Azure . Functions . Cli . UnitTests . ActionsTests
26
25
{
27
26
public class StartHostActionTests : IDisposable
@@ -298,7 +297,9 @@ public async Task AzureFunctionsEnvironment_EnvironmentVariable_SetByUser_DoesNo
298
297
await startHostAction . RunAsync ( ) . WaitAsync ( TimeSpan . FromSeconds ( 1 ) ) ;
299
298
throw new AssertionFailedException ( "Should've canceled via timeout" ) ;
300
299
}
301
- catch ( TimeoutException ) { }
300
+ catch ( TimeoutException )
301
+ {
302
+ }
302
303
303
304
Assert . Equal ( "MyEnvironment" , settings [ "AZURE_FUNCTIONS_ENVIRONMENT" ] ) ;
304
305
}
You can’t perform that action at this time.
0 commit comments