Skip to content

Commit 1b040b2

Browse files
committed
Fix test cases
1 parent 4dc532e commit 1b040b2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

test/graph/SolidityCFGFactory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ contract MetaCoin {
4646
const cfg = factory.convertAST(ast);
4747
expect(cfg.edges.length === 12);
4848
expect(cfg.nodes.length === 11);
49-
console.log(cfg);
49+
// console.log(cfg);
5050

5151
// drawGraph(cfg, "./temp/graph.svg");
5252
// expect(statement != null);

test/testcase/AddressStatement.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ describe("AddressStatement", () => {
1515
await guessCWD(null);
1616
await setupOptions("", []);
1717
await loadConfig();
18-
await processConfig({}, "");
18+
await processConfig({
19+
"target_root_directory": ""
20+
}, "");
1921
await setupLogger();
2022
});
2123

test/testcase/primitive/String.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ describe("StringStatement", () => {
1616
await guessCWD(null);
1717
await setupOptions("", []);
1818
await loadConfig();
19-
await processConfig({}, "");
19+
await processConfig({
20+
"target_root_directory": ""
21+
}, "");
2022
await setupLogger();
2123
});
2224

0 commit comments

Comments
 (0)