File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
test/Cli/Func.UnitTests/ActionsTests Expand file tree Collapse file tree 2 files changed +5
-3
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 @@ -293,7 +293,9 @@ public async Task AzureFunctionsEnvironment_EnvironmentVariable_SetByUser_DoesNo
293
293
await startHostAction . RunAsync ( ) . WaitAsync ( TimeSpan . FromSeconds ( 1 ) ) ;
294
294
throw new AssertionFailedException ( "Should've canceled via timeout" ) ;
295
295
}
296
- catch ( TimeoutException ) { }
296
+ catch ( TimeoutException )
297
+ {
298
+ }
297
299
298
300
Assert . Equal ( "MyEnvironment" , settings [ "AZURE_FUNCTIONS_ENVIRONMENT" ] ) ;
299
301
}
You can’t perform that action at this time.
0 commit comments