@@ -7,7 +7,7 @@ describe('String.IsNullOrWhitespace', () => {
7
7
8
8
it ( 'should return true on null string' , ( ) => {
9
9
let teststring = null ;
10
- let result = String . IsNullOrWhiteSpace ( teststring ) ;
10
+ let result = String . IsNullOrWhiteSpace ( teststring ! ) ;
11
11
expect ( result ) . to . equal ( true ) ;
12
12
} ) ;
13
13
@@ -183,7 +183,7 @@ describe('String.Format Number Pattern', () => {
183
183
expect ( result ) . to . equal ( expectedValue ) ;
184
184
} ) ;
185
185
} ) ;
186
-
186
+
187
187
describe ( 'hexadecimal' , ( ) => {
188
188
it ( 'number should be converted to hex lowercase' , ( ) => {
189
189
let result = String . Format ( '{0:x}' , 500 ) ;
@@ -276,7 +276,7 @@ describe('StringBuilder initialization', () => {
276
276
builder . Append ( 'Second Part...' ) ;
277
277
278
278
expect ( builder . ToString ( ) ) . to
279
- . equal ( 'First Part... Second Part...' ) ;
279
+ . equal ( 'First Part... Second Part...' ) ;
280
280
} ) ;
281
281
282
282
it ( 'should add a string if there is ctor parameter' , ( ) => {
@@ -285,7 +285,7 @@ describe('StringBuilder initialization', () => {
285
285
286
286
console . log ( builder . ToString ( ) ) ;
287
287
expect ( builder . ToString ( ) ) . to
288
- . equal ( 'First Part... Second Part...' ) ;
288
+ . equal ( 'First Part... Second Part...' ) ;
289
289
} ) ;
290
290
} ) ;
291
291
@@ -296,7 +296,7 @@ describe('StringBuilderng.Append', () => {
296
296
builder . Append ( 'Second Part...' ) ;
297
297
298
298
expect ( builder . ToString ( ) ) . to
299
- . equal ( 'First Part... Second Part...' ) ;
299
+ . equal ( 'First Part... Second Part...' ) ;
300
300
} ) ;
301
301
302
302
it ( 'should append characters' , ( ) => {
@@ -306,7 +306,7 @@ describe('StringBuilderng.Append', () => {
306
306
307
307
console . log ( builder . ToString ( ) ) ;
308
308
expect ( builder . ToString ( ) ) . to
309
- . equal ( 'First Part... Second Part...' ) ;
309
+ . equal ( 'First Part... Second Part...' ) ;
310
310
} ) ;
311
311
} ) ;
312
312
@@ -317,7 +317,7 @@ describe('StringBuilder.AppendLine', () => {
317
317
builder . AppendLine ( 'Second Line...' ) ;
318
318
319
319
expect ( builder . ToString ( ) ) . to
320
- . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
320
+ . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
321
321
} ) ;
322
322
323
323
it ( 'should append characters and new line' , ( ) => {
@@ -327,7 +327,7 @@ describe('StringBuilder.AppendLine', () => {
327
327
328
328
console . log ( builder . ToString ( ) ) ;
329
329
expect ( builder . ToString ( ) ) . to
330
- . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
330
+ . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
331
331
} ) ;
332
332
333
333
it ( 'should append characters and new line' , ( ) => {
@@ -337,6 +337,6 @@ describe('StringBuilder.AppendLine', () => {
337
337
338
338
console . log ( builder . ToString ( ) ) ;
339
339
expect ( builder . ToString ( ) ) . to
340
- . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
340
+ . equal ( '\r\nFirst Line...\r\nSecond Line...' ) ;
341
341
} ) ;
342
342
} ) ;
0 commit comments