@@ -45,7 +45,6 @@ describe("parser", () => {
45
45
} ) ;
46
46
47
47
it ( "object versions of primitives" , ( ) => {
48
- /* tslint:disable no-construct */
49
48
// noinspection JSPrimitiveTypeWrapperUsage
50
49
assert . strictEqual ( parse ( "root" , new String ( "string" ) ,
51
50
simpleOptions ) ,
@@ -57,7 +56,6 @@ describe("parser", () => {
57
56
assert . strictEqual ( parse ( "root" , new Boolean ( true ) ,
58
57
simpleOptions ) ,
59
58
"<root>true</root>" ) ;
60
- /* tslint:enable no-construct */
61
59
} ) ;
62
60
63
61
it ( "simple objects and maps" , ( ) => {
@@ -108,7 +106,6 @@ describe("parser", () => {
108
106
} ) ;
109
107
110
108
it ( "primitives in objects and maps" , ( ) => {
111
- /* tslint:disable no-construct */
112
109
// noinspection JSPrimitiveTypeWrapperUsage
113
110
assert . strictEqual (
114
111
parse (
@@ -158,11 +155,9 @@ describe("parser", () => {
158
155
simpleOptions ) ,
159
156
"<root><false>str1</false><undefined>str2</undefined>"
160
157
+ "<null>str3</null></root>" ) ;
161
- /* tslint:enable no-construct */
162
158
} ) ;
163
159
164
160
it ( "primitives in arrays and sets" , ( ) => {
165
- /* tslint:disable no-construct */
166
161
// noinspection JSPrimitiveTypeWrapperUsage
167
162
assert . strictEqual (
168
163
parse (
@@ -184,7 +179,6 @@ describe("parser", () => {
184
179
"<root><root>test</root><root>3</root><root>false</root>"
185
180
+ "<root>undefined</root><root>null</root><root>str1"
186
181
+ "</root><root>5</root><root>false</root></root>" ) ;
187
- /* tslint:enable no-construct */
188
182
} ) ;
189
183
190
184
it ( "nested objects and maps" , ( ) => {
0 commit comments