Skip to content

Commit 3e501a1

Browse files
committed
Remove duplicated tests
1 parent 9847784 commit 3e501a1

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

tests/tests/src/core/Core_ArrayTests.mjs

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -495,41 +495,6 @@ Test.run([
495495
]
496496
]);
497497

498-
let array$2 = [];
499-
500-
array$2.splice(0, 1);
501-
502-
Test.run([
503-
[
504-
"Core_ArrayTests.res",
505-
137,
506-
22,
507-
45
508-
],
509-
"removeInPlace - empty"
510-
], array$2, eq, []);
511-
512-
let array$3 = [
513-
"Hello",
514-
"Hi",
515-
"Good bye"
516-
];
517-
518-
array$3.splice(1, 1);
519-
520-
Test.run([
521-
[
522-
"Core_ArrayTests.res",
523-
143,
524-
22,
525-
51
526-
],
527-
"removeInPlace - from middle"
528-
], array$3, eq, [
529-
"Hello",
530-
"Good bye"
531-
]);
532-
533498
export {
534499
eq,
535500
}

tests/tests/src/core/Core_ArrayTests.res

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,3 @@ Test.run(__POS_OF__("last - empty"), []->Array.last, eq, None)
130130
),
131131
)
132132
}
133-
134-
{
135-
let array = []
136-
array->Array.removeInPlace(0)
137-
Test.run(__POS_OF__("removeInPlace - empty"), array, eq, [])
138-
}
139-
140-
{
141-
let array = ["Hello", "Hi", "Good bye"]
142-
array->Array.removeInPlace(1)
143-
Test.run(__POS_OF__("removeInPlace - from middle"), array, eq, ["Hello", "Good bye"])
144-
}

0 commit comments

Comments
 (0)