Skip to content

Conversation

microsoft-github-policy-service[bot]
Copy link
Contributor

Update code to match the house style 😎

Copy link
Contributor

github-actions bot commented Oct 5, 2025

Test this change out locally with the following install scripts (Action run 18254032071)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 18254032071
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 18254032071"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 18254032071
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 18254032071"

Copy link
Contributor

github-actions bot commented Oct 5, 2025

Dotnet Test Results

    96 files   -     48      96 suites   - 48   42m 48s ⏱️ - 39m 15s
12 410 tests  -     13  12 410 ✅  -     13  0 💤 ±0  0 ❌ ±0 
28 565 runs   - 14 276  28 565 ✅  - 14 276  0 💤 ±0  0 ❌ ±0 

Results for commit 8605972. ± Comparison against base commit ec29a13.

This pull request removes 1916 and adds 652 tests. Note that renamed tests count towards both.

		nestedProp1: 1
		nestedProp2: 2
		prop1: true
		prop2: false
	1
	2
	\$'")
	prop1: true
	prop2: false
…
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
�ӽ
�0\u0010\u0007��>E�\u0003���Y��Ep�\u0001�=Q�U�
\u0005��m\u0007qiq��`~c� �\u000b�1]�jI>��\u0010JI7\u0015�oPsƴ�7�A&�\u0005\u0018���1^�>I�[Q��\u001ee��~��q_\u001eSZH��ӱUN�\u0006T8�Ե]WM������%T�Sqɚ���}�g\u0006\u001d����\u0015}�?hä\u0005\u0004�\u001a�c��:��d������&��J���\u0015�[ʣ9��sA��g\u000b� \u0008��	\u0002�s�\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
�ӽ\u000e�0\u0010\u0007��>\u0005OPzG�����Wh�ďP\u000c�Hb|w�`�\u0000qA0����K�m�2ޙ~[�Cٴ\u0012\u0011�X��)/�zt}\u0000\u0004\u0002�E	�4���'\u0019ѵ�4~�%��A�EƝ��\u0000�<MrB�9"f\u000c\u001b_�O� �\u001aw,:{����s[ۡ��jX��������\u0013}ʿR(�\u0014��\u0013���\u000f\u001a|�\u0017�����X{� \u0008�`
O9�T�\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
���\u000b�0\u0014\u0007��+�����ޖ���CFX\u0010t��B\u0006Z���?�<D\u0017��?��9�=���w���z��8)J�9�.A}��\u0014�u���BL�QD\u0015\u0000C\u0008׽O��QV�0����\u000f�s��4K\u0002����\u000f\u001c�?\u0017\u0000��L��Uc>���\u0012�y���Z��=�j���V���
wE��O�@\u000c����\u0000D%\u0000�����?���	��r\u001b�N��.r\u0016���S�dY�e
�\u0005�\��\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003�ӽ
�0\u0010\u0007��}
� �y^��{ǾBh�~`,F�P��C����j��-�\u001c�]\u0008�\u0019�L�-͡l�$d\u0015K17�T���\u000f�Q�~\u0001\u0001�\u0019����7\u0019ѹ�4~�%f��$�L{��\u00025�rRZfJ�������5���=\u0016����f���vh��\u001a�~h0����5�S�\u0001\u0012�\u000c\u001aH�?|������L�y�7\u0008� \u0008��\u0004W�K�\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003�Խ
�0\u0010\u0000��>E�\u0003����
\u001d\u0004\u0007+R\u0005�U�-X�U�
\u0005_�t\u0010�\u0016��\u0008�[\u0012r\u0007w!\����:�qR��Q!]��\u0006����A�BT�\u0001\u0002%�@\u0008׽w��QV�0��Q�\u0007ys��4K\u0002��/�Ϥ">�-ș���b��w]]�4���\�[ޤg]�S_���y��j|���8�\u0002\u00140�̂@
A���2��>�O'���m�:m\u000e��Y`�\u0003OݓeY�5�\u0017L�\u0001�\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003��K
�0\u0010\u0006�=E�\u0001�ļZ�{7�\u001b\u000f\u0010�\u0011+���B@���Bܴ��C0�230\u0013���{�`2�-�L����і\u0012���ÄFL�QD��\u0012!�Fߤ��6�nW�c�\u000fZG�4y\u0001	�2V<�*"�R\3�jk�P�Ÿ2�9��\u000c\u001c��[ٵ\u0017C�K��\u001b��t3��r����r�%k�d׍g������C	����l\u0007�\u0011�`�O�j��n��y�t^th�\u0013\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("output loopOutput array = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("resource propertyLoop 'Microsoft.ContainerInstance/containerGroups@2022-09-01' = {
  name: 'gh9440-loop'
  location: 'westus'
  properties: {
    containers: [for i in range(0, 2): {
      name: 'gh9440-w1c-${i}'
      properties: {
        command: [
          'echo "${join(map(containerWorkers, (w) => w.properties.ipAddress.ip), ',')}"'
        ]
      }
    }]
  }
}")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("var loopVar = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.Emit.ParamsFileWriterTests ‑ Params_file_with_no_errors_should_compile_correctly ("
using 'main.bicep'

// involves all syntax
param myParam = {
  arr: [
    {
      a : 'b'
    }
    {
      c : true
    }
  ]
  name: 'complex object!'
  priority: 3
  val: null
  obj: {
      a: 'b'
      c: [
          'd'
           1
      ]
  }
}","
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "myParam": {
      "value": {
        "arr" : [
          {
            "a" : "b"
          },
          {
            "c" : true
          }
        ],
        "name" : "complex object!",
        "priority" : 3,
        "val" : null,
        "obj" : {
          "a" : "b",
          "c" : [
            "d",
            1
          ]
        }
      }
    }
  }
}","
param myParam object
")
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Automatically merge this PR code-formatting-automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants