1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00

fix: re-enable fixed tests

This commit is contained in:
Yoshiya Hinosawa 2018-10-04 10:35:39 +09:00 committed by Ryan Dahl
parent 202e7445d5
commit e5e7f0f038

View file

@ -111,7 +111,6 @@ test(function createExecTimeColumnsRegularData() {
]); ]);
}); });
/* Test is incorrect. TODO: fix this test.
test(function createExecTimeColumnsIrregularData() { test(function createExecTimeColumnsIrregularData() {
const columns = createExecTimeColumns(irregularData); const columns = createExecTimeColumns(irregularData);
assertEqual(columns, [ assertEqual(columns, [
@ -121,7 +120,6 @@ test(function createExecTimeColumnsIrregularData() {
["cold_relative_import", null, null] ["cold_relative_import", null, null]
]); ]);
}); });
*/
test(function createBinarySizeColumnsRegularData() { test(function createBinarySizeColumnsRegularData() {
const columns = createBinarySizeColumns(regularData); const columns = createBinarySizeColumns(regularData);
@ -133,7 +131,6 @@ test(function createBinarySizeColumnsRegularData() {
]); ]);
}); });
/* Test is incorrect. TODO: fix this test.
test(function createBinarySizeColumnsIrregularData() { test(function createBinarySizeColumnsIrregularData() {
const columns = createBinarySizeColumns(irregularData); const columns = createBinarySizeColumns(irregularData);
assertEqual(columns, [ assertEqual(columns, [
@ -143,14 +140,12 @@ test(function createBinarySizeColumnsIrregularData() {
["snapshot_deno.bin", null, 0] ["snapshot_deno.bin", null, 0]
]); ]);
}); });
*/
test(function createThreadCountColumnsRegularData() { test(function createThreadCountColumnsRegularData() {
const columns = createThreadCountColumns(regularData); const columns = createThreadCountColumns(regularData);
assertEqual(columns, [["set_timeout", 4, 5], ["fetch_deps", 6, 7]]); assertEqual(columns, [["set_timeout", 4, 5], ["fetch_deps", 6, 7]]);
}); });
/* Test is incorrect. TODO: fix this test.
test(function createThreadCountColumnsIrregularData() { test(function createThreadCountColumnsIrregularData() {
const columns = createThreadCountColumns(irregularData); const columns = createThreadCountColumns(irregularData);
assertEqual(columns, [ assertEqual(columns, [
@ -158,21 +153,16 @@ test(function createThreadCountColumnsIrregularData() {
["fetch_deps", null, null] ["fetch_deps", null, null]
]); ]);
}); });
*/
/* Test is incorrect. TODO: fix this test.
test(function createSyscallCountColumnsRegularData() { test(function createSyscallCountColumnsRegularData() {
const columns = createSyscallCountColumns(regularData); const columns = createSyscallCountColumns(regularData);
assertEqual(columns, [["hello", 600, 700], ["fetch_deps", 700, 800]]); assertEqual(columns, [["hello", 600, 700], ["fetch_deps", 700, 800]]);
}); });
*/
/* Test is incorrect. TODO: fix this test.
test(function createSyscallCountColumnsIrregularData() { test(function createSyscallCountColumnsIrregularData() {
const columns = createSyscallCountColumns(irregularData); const columns = createSyscallCountColumns(irregularData);
assertEqual(columns, [["hello", null, null], ["fetch_deps", null, null]]); assertEqual(columns, [["hello", null, null], ["fetch_deps", null, null]]);
}); });
*/
test(function createSha1ListRegularData() { test(function createSha1ListRegularData() {
const sha1List = createSha1List(regularData); const sha1List = createSha1List(regularData);