WIP nameof function #66
54 fail, 10 970 pass in 25m 16s
66 files 66 suites 25m 16s ⏱️
11 024 tests 10 970 ✅ 0 💤 54 ❌
25 938 runs 25 830 ✅ 0 💤 108 ❌
Results for commit b587cba.
Annotations
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidExpressions_LF_symbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_109": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidExpressions_LF\Completions\symbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\5f473cd2-3f1e-4f91-b3ce-b7a84ef98f86\InvalidExpressions_LF_symbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\5f473cd2-3f1e-4f91-b3ce-b7a84ef98f86\InvalidExpressions_LF_symbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidExpressions_LF\Completions\symbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_for.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\92de205d-be78-4c21-8860-e8fbbe9a0f2c\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\92de205d-be78-4c21-8860-e8fbbe9a0f2c\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_for.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidOutputs_CRLF_symbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_47": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidOutputs_CRLF\Completions\symbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\84094d2b-394c-4d0c-a562-efb0345faf44\InvalidOutputs_CRLF_symbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\84094d2b-394c-4d0c-a562-efb0345faf44\InvalidOutputs_CRLF_symbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidOutputs_CRLF\Completions\symbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_createModeIndexPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\createModeIndexPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\0d3be2a9-653e-4f71-b568-c55c4964335a\InvalidResources_CRLF_createModeIndexPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\0d3be2a9-653e-4f71-b568-c55c4964335a\InvalidResources_CRLF_createModeIndexPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\createModeIndexPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_symbolsPlusAccount1 (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusAccount1.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\78101f6e-3f07-474a-af28-aeee55c8d693\InvalidResources_CRLF_symbolsPlusAccount1_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\78101f6e-3f07-474a-af28-aeee55c8d693\InvalidResources_CRLF_symbolsPlusAccount1_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusAccount1.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\24aad4f3-8fdb-489b-abab-439eca10f741\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\24aad4f3-8fdb-489b-abab-439eca10f741\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_boolPropertyValuesPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\boolPropertyValuesPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\14b7bc3b-4798-4f44-8c28-46baac746ece\InvalidResources_CRLF_boolPropertyValuesPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\14b7bc3b-4798-4f44-8c28-46baac746ece\InvalidResources_CRLF_boolPropertyValuesPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\boolPropertyValuesPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_for_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\498771e0-10b3-454e-8209-6ae45ae4dc47\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\498771e0-10b3-454e-8209-6ae45ae4dc47\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_for_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols_for_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_defaultCreateModeIndexes_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_234": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\defaultCreateModeIndexes_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\6ef6fcd0-4b41-4698-9b30-541605bd5b09\InvalidResources_CRLF_defaultCreateModeIndexes_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\6ef6fcd0-4b41-4698-9b30-541605bd5b09\InvalidResources_CRLF_defaultCreateModeIndexes_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\defaultCreateModeIndexes_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_220": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\3d9ec7ca-d2f9-43a5-a351-3649adaaa26a\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\3d9ec7ca-d2f9-43a5-a351-3649adaaa26a\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\83e4ffec-f8e5-4e31-9231-3aca89860b79\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\83e4ffec-f8e5-4e31-9231-3aca89860b79\InvalidResources_CRLF_missingDiscriminatorPropertyIndexPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\missingDiscriminatorPropertyIndexPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidExpressions_LF_sysFunctions (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_41": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidExpressions_LF\Completions\sysFunctions.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\a009127a-2e3b-4c22-940c-1a08ce2ed2dc\InvalidExpressions_LF_sysFunctions_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\a009127a-2e3b-4c22-940c-1a08ce2ed2dc\InvalidExpressions_LF_sysFunctions_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidExpressions_LF\Completions\sysFunctions.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_createModeIndexPlusSymbols_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\createModeIndexPlusSymbols_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\61227571-0257-4e8f-9722-963f65c2c2fd\InvalidResources_CRLF_createModeIndexPlusSymbols_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\61227571-0257-4e8f-9722-963f65c2c2fd\InvalidResources_CRLF_createModeIndexPlusSymbols_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\createModeIndexPlusSymbols_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_symbolsPlusAccount2 (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusAccount2.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\a3a24c55-72a7-4707-9bd6-930c00730811\InvalidResources_CRLF_symbolsPlusAccount2_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\a3a24c55-72a7-4707-9bd6-930c00730811\InvalidResources_CRLF_symbolsPlusAccount2_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusAccount2.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_220": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_for.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\1ceab1de-e49f-40ff-b2de-0504367be035\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\1ceab1de-e49f-40ff-b2de-0504367be035\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_for.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_deploymentScriptKindsPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\deploymentScriptKindsPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\220d3e23-424e-430c-a3f2-13252bdcfcd3\InvalidResources_CRLF_deploymentScriptKindsPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\220d3e23-424e-430c-a3f2-13252bdcfcd3\InvalidResources_CRLF_deploymentScriptKindsPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\deploymentScriptKindsPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_symbolsPlusRule (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusRule.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\e25c6270-f9db-4f77-b59a-91e6de31d869\InvalidResources_CRLF_symbolsPlusRule_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\e25c6270-f9db-4f77-b59a-91e6de31d869\InvalidResources_CRLF_symbolsPlusRule_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbolsPlusRule.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_220": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_for_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\41cfadf7-656b-4c81-bd06-d797d117af67\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\41cfadf7-656b-4c81-bd06-d797d117af67\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_for_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols_for_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidOutputs_CRLF_boolPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_48": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidOutputs_CRLF\Completions\boolPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\0d545a3c-8aab-4f45-8f2b-73f142965b7c\InvalidOutputs_CRLF_boolPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\0d545a3c-8aab-4f45-8f2b-73f142965b7c\InvalidOutputs_CRLF_boolPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidOutputs_CRLF\Completions\boolPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_symbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_206": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\ec05ed8f-1a81-4c0b-bf25-13099008d57a\InvalidResources_CRLF_symbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\ec05ed8f-1a81-4c0b-bf25-13099008d57a\InvalidResources_CRLF_symbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\symbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidModules_LF_symbolsPlusX_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_136": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidModules_LF\Completions\symbolsPlusX_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\c6c806f1-9da6-4376-b96d-30aa6d5367da\InvalidModules_LF_symbolsPlusX_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\c6c806f1-9da6-4376-b96d-30aa6d5367da\InvalidModules_LF_symbolsPlusX_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidModules_LF\Completions\symbolsPlusX_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_deploymentScriptKindsPlusSymbols_for_if (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_207": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\deploymentScriptKindsPlusSymbols_for_if.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\b090bcd8-031d-4e84-99fd-3e6de95d43c1\InvalidResources_CRLF_deploymentScriptKindsPlusSymbols_for_if_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\b090bcd8-031d-4e84-99fd-3e6de95d43c1\InvalidResources_CRLF_deploymentScriptKindsPlusSymbols_for_if_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\deploymentScriptKindsPlusSymbols_for_if.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_objectPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_205": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\objectPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\b99eaf26-7055-45d3-bf85-1f1a3097a8d2\InvalidResources_CRLF_objectPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\b99eaf26-7055-45d3-bf85-1f1a3097a8d2\InvalidResources_CRLF_objectPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\objectPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_220": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\f32c9001-d8cf-48f3-a185-4f36f710672b\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\f32c9001-d8cf-48f3-a185-4f36f710672b\InvalidResources_CRLF_cliPropertyAccessIndexesPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidResources_CRLF\Completions\cliPropertyAccessIndexesPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258
Check warning on line 0 in Bicep.LangServer.IntegrationTests.CompletionTests
github-actions / Test Results
All 2 runs failed: CompletionRequestShouldProduceExpectedCompletions_InvalidParameters_LF_objectPlusSymbols (Bicep.LangServer.IntegrationTests.CompletionTests)
TestResults/_fv-az1567-188_2024-02-12_22_26_34[1].trx [took 0s]
TestResults/runneradmin_fv-az653-134_2024-02-12_22_27_58[1].trx [took 0s]
Raw output
Found diffs between actual and expected:
"{
"_t": "a",
"_74": [
{
"label": "nameof",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nnameof(symbol: any): string\n\n``` \nReturns the name of the specified parameter, variable, or resource. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_nameof",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "nameof($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
0,
0
]
}"
View this diff with:
git diff --color-words --no-index "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidParameters_LF\Completions\objectPlusSymbols.json" "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\424e03be-f2c8-47a0-8c19-6b106fe6793f\InvalidParameters_LF_objectPlusSymbols_Actual.json"
Overwrite the single baseline:
xcopy /yq "D:\a\bicep\bicep\TestResults\Deploy_runneradmin 20240212T222755\In\424e03be-f2c8-47a0-8c19-6b106fe6793f\InvalidParameters_LF_objectPlusSymbols_Actual.json" "D:\a\bicep\bicep\src\Bicep.Core.Samples\Files\baselines\InvalidParameters_LF\Completions\objectPlusSymbols.json"
Overwrite all baselines:
dotnet test --filter "TestCategory=Baseline" -- 'TestRunParameters.Parameter(name=\"SetBaseLine\", value=\"true\")'
See https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md#updating-test-baselines for more information on how to fix this error.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at Bicep.Core.UnitTests.Assertions.JTokenAssertionsExtensions.EqualWithJsonDiffOutput(JTokenAssertions instance, TestContext testContext, JToken expected, String expectedLocation, String actualLocation, String because, Boolean validateLocation, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\JTokenAssertionsExtensions.cs:line 52
at Bicep.LangServer.IntegrationTests.CompletionTests.ValidateCompletions(DataSet dataSet, String setName, List`1 intermediate) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 3470
at Bicep.LangServer.IntegrationTests.CompletionTests.CompletionRequestShouldProduceExpectedCompletions(DataSet dataSet, String setName, IList`1 positions) in D:\a\bicep\bicep\src\Bicep.LangServer.IntegrationTests\CompletionTests.cs:line 258