Skip to content

Commit 5a1706a

Browse files
authored
Update contains_only_empty_strings.test.ts
1 parent 1c24ee6 commit 5a1706a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/array/contains_only_empty_strings.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { assertEquals } from 'https://deno.land/[email protected]/assert/assert_equals.ts';
2-
import isEmpty from './is_empty.ts';
2+
import containsOnlyEmptyStrings from './contains_only_empty_strings.ts';
33

44
Deno.test(
55
'Calculate median value of number array.',
@@ -8,7 +8,7 @@ Deno.test(
88
name: 'Empty array []',
99
fn: () => {
1010
assertEquals(
11-
isEmpty([]),
11+
containsOnlyEmptyStrings([]),
1212
true,
1313
);
1414
},
@@ -18,7 +18,7 @@ Deno.test(
1818
name: 'Array with empty string',
1919
fn: () => {
2020
assertEquals(
21-
isEmpty(['']),
21+
containsOnlyEmptyStrings(['']),
2222
true,
2323
);
2424
},
@@ -28,7 +28,7 @@ Deno.test(
2828
name: 'Array with multiple empty strings',
2929
fn: () => {
3030
assertEquals(
31-
isEmpty([
31+
containsOnlyEmptyStrings([
3232
'',
3333
''
3434
]),
@@ -41,7 +41,7 @@ Deno.test(
4141
name: 'Array with string',
4242
fn: () => {
4343
assertEquals(
44-
isEmpty([' ']),
44+
containsOnlyEmptyStrings([' ']),
4545
false,
4646
);
4747
},

0 commit comments

Comments
 (0)