1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -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() {
const columns = createExecTimeColumns(irregularData);
assertEqual(columns, [
@ -121,7 +120,6 @@ test(function createExecTimeColumnsIrregularData() {
["cold_relative_import", null, null]
]);
});
*/
test(function createBinarySizeColumnsRegularData() {
const columns = createBinarySizeColumns(regularData);
@ -133,7 +131,6 @@ test(function createBinarySizeColumnsRegularData() {
]);
});
/* Test is incorrect. TODO: fix this test.
test(function createBinarySizeColumnsIrregularData() {
const columns = createBinarySizeColumns(irregularData);
assertEqual(columns, [
@ -143,14 +140,12 @@ test(function createBinarySizeColumnsIrregularData() {
["snapshot_deno.bin", null, 0]
]);
});
*/
test(function createThreadCountColumnsRegularData() {
const columns = createThreadCountColumns(regularData);
assertEqual(columns, [["set_timeout", 4, 5], ["fetch_deps", 6, 7]]);
});
/* Test is incorrect. TODO: fix this test.
test(function createThreadCountColumnsIrregularData() {
const columns = createThreadCountColumns(irregularData);
assertEqual(columns, [
@ -158,21 +153,16 @@ test(function createThreadCountColumnsIrregularData() {
["fetch_deps", null, null]
]);
});
*/
/* Test is incorrect. TODO: fix this test.
test(function createSyscallCountColumnsRegularData() {
const columns = createSyscallCountColumns(regularData);
assertEqual(columns, [["hello", 600, 700], ["fetch_deps", 700, 800]]);
});
*/
/* Test is incorrect. TODO: fix this test.
test(function createSyscallCountColumnsIrregularData() {
const columns = createSyscallCountColumns(irregularData);
assertEqual(columns, [["hello", null, null], ["fetch_deps", null, null]]);
});
*/
test(function createSha1ListRegularData() {
const sha1List = createSha1List(regularData);