@@ -16,7 +16,7 @@ function Object::create::simpleObject { #@test
1616 Object::create simpleObjectFunction \
1717 --type " simpleObjectType" \
1818 --property-property " propertyValue"
19-
19+
2020 run ${simpleObjectFunction} type
2121 assert_output " simpleObjectType"
2222
@@ -43,7 +43,7 @@ function Object::create::missingPositionalArg { #@test
4343 run Object::create \
4444 --type " simpleObjectType" \
4545 --propertyInvalid-property " propertyValue" 2>&1
46-
46+
4747 assert_output --partial " local: \` --type': invalid variable name for name reference"
4848 assert_failure 1
4949}
@@ -54,7 +54,7 @@ function Object::create::simpleObjectNonStrict { #@test
5454 --strict 0 \
5555 --type " simpleObjectType" \
5656 --property-property " propertyValue"
57-
57+
5858 run ${simpleObjectType} strict
5959 assert_output " 0"
6060
@@ -68,7 +68,7 @@ function Object::create::invalidProperty { #@test
6868 run Object::create simpleObjectType \
6969 --type " simpleObjectType" \
7070 --propertyInvalid-property " propertyValue" 2>&1
71-
71+
7272 assert_output --partial " ERROR - invalid object property --propertyInvalid-property"
7373 assert_failure 1
7474}
@@ -79,25 +79,25 @@ function Object::create::duplicatedProperty { #@test
7979 --type " simpleObjectType" \
8080 --property-property " propertyValue1" \
8181 --property-property " propertyValue2" 2>&1
82-
82+
8383 assert_output --partial " ERROR - property property is provided more than one time"
8484 assert_failure 1
8585}
8686
8787function Object::create::invalidObjectType { # @test
88- declare invalidObjectType
88+ declare invalidObjectType
8989 run Object::create invalidObjectType \
9090 --type " invalidéObjectType" \
9191 --property-property " propertyValue" 2>&1
92-
92+
9393 assert_output --partial " ERROR - invalid object type invalidéObjectType"
9494 assert_failure 1
9595}
9696
9797function Object::create::missingObjectType { # @test
9898 run Object::create missingObjectType \
9999 --property-property " propertyValue" 2>&1
100-
100+
101101 assert_output --partial " ERROR - missing object type"
102102 assert_failure 1
103103}
@@ -107,9 +107,9 @@ function Object::create::unknownArray { #@test
107107 Object::create unknownArray \
108108 --type " simpleObjectType" \
109109 --array-list " unknownArray" 2>&1
110-
110+
111111 run ${unknownArray} getArray " unknownArray"
112-
112+
113113 assert_output --partial " ERROR - unknown array unknownArray"
114114 assert_failure 2
115115}
@@ -121,7 +121,7 @@ function Object::create::propertyArrayOrdered { #@test
121121 --property-property " propertyValue" \
122122 --array-list " value1" \
123123 --array-list " value2"
124-
124+
125125 run ${propertyArrayOrdered} type
126126 assert_success
127127 assert_output " simpleObjectType"
@@ -148,7 +148,7 @@ function Object::create::propertyArrayUnordered { #@test
148148 --array-list " value2" \
149149 --property-property " propertyValue" \
150150 --array-list " value3"
151-
151+
152152 run ${propertyArrayUnordered} type
153153 assert_success
154154 assert_output " simpleObjectType"
@@ -172,4 +172,4 @@ function Object::create::propertyArrayUnordered { #@test
172172 assert_lines_count 2
173173 assert_line --index 0 " list"
174174 assert_line --index 1 " property"
175- }
175+ }
0 commit comments