@@ -1006,21 +1006,21 @@ Describe 'Round-trip conversion' {
10061006 It ' Round-trips a full config-like structure (5+ levels)' {
10071007 $original = [ordered ]@ {
10081008 app = [ordered ]@ {
1009- name = ' MyApp'
1009+ name = ' MyApp'
10101010 version = ' 2.0'
10111011 modules = [ordered ]@ {
10121012 auth = [ordered ]@ {
1013- enabled = $true
1013+ enabled = $true
10141014 provider = [ordered ]@ {
1015- type = ' oauth'
1015+ type = ' oauth'
10161016 settings = [ordered ]@ {
10171017 clientId = ' abc123'
1018- scopes = @ (' read' , ' write' , ' admin' )
1018+ scopes = @ (' read' , ' write' , ' admin' )
10191019 }
10201020 }
10211021 }
10221022 logging = [ordered ]@ {
1023- level = ' info'
1023+ level = ' info'
10241024 outputs = @ (
10251025 [ordered ]@ { type = ' console' ; colored = $true },
10261026 [ordered ]@ { type = ' file' ; path = ' /var/log/app.log' }
@@ -1104,8 +1104,8 @@ Describe 'Round-trip conversion' {
11041104
11051105 It ' Round-trips strings with special characters' {
11061106 $original = [ordered ]@ {
1107- escaped = " line1`n line2`t tab"
1108- quoted = ' she said "hi"'
1107+ escaped = " line1`n line2`t tab"
1108+ quoted = ' she said "hi"'
11091109 backslash = ' C:\path\to\file'
11101110 }
11111111 $lua = ConvertTo-Lua - InputObject $original - Depth 5
@@ -1118,8 +1118,8 @@ Describe 'Round-trip conversion' {
11181118 It ' Round-trips unicode strings' {
11191119 $original = [ordered ]@ {
11201120 greeting = ' Héllo Wörld'
1121- emoji = ' test'
1122- cjk = ' 日本語'
1121+ emoji = ' test'
1122+ cjk = ' 日本語'
11231123 }
11241124 $lua = ConvertTo-Lua - InputObject $original - Depth 5
11251125 $result = ConvertFrom-Lua - InputObject $lua - AsHashtable
@@ -1130,14 +1130,14 @@ Describe 'Round-trip conversion' {
11301130 It ' Round-trips deeply nested array-of-objects-with-arrays' {
11311131 $original = @ (
11321132 [ordered ]@ {
1133- name = ' group1'
1133+ name = ' group1'
11341134 items = @ (
11351135 [ordered ]@ { id = 1 ; tags = @ (' a' , ' b' ) },
11361136 [ordered ]@ { id = 2 ; tags = @ (' c' ) }
11371137 )
11381138 },
11391139 [ordered ]@ {
1140- name = ' group2'
1140+ name = ' group2'
11411141 items = @ (
11421142 [ordered ]@ { id = 3 ; tags = @ (' d' , ' e' , ' f' ) }
11431143 )
0 commit comments