Skip to content

Commit

Permalink
Merge pull request #48 from ASSERT-KTH/47-rename-sanity-checks-to-fun…
Browse files Browse the repository at this point in the history
…ctional-checks

fix: functional check test name
  • Loading branch information
mokita-j authored Jan 20, 2025
2 parents f96d9b8 + 58083aa commit c5b64dc
Show file tree
Hide file tree
Showing 97 changed files with 717 additions and 103 deletions.
6 changes: 3 additions & 3 deletions smartbugs-curated/0.4.x/scripts/CustomReporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CustomReporter extends Spec {
error: err.message,
stack: err.stack,
};
if (test.title.includes("sanity check")) {
if (test.title.includes("functional check")) {
failedSanity += 1;
failedSanityTests.push(result);
} else {
Expand All @@ -71,7 +71,7 @@ class CustomReporter extends Spec {
contractFile: contractFile,
state: test.state,
};
if (test.title.includes("sanity check")) {
if (test.title.includes("functional check")) {
passedSanity += 1;
} else {
passedResults.push(result);
Expand Down Expand Up @@ -101,7 +101,7 @@ class CustomReporter extends Spec {
);
const formattedMessage3 = Base.color(
"fail",
`Total failed sanity tests: ${failedSanity}/${allFiles}`,
`Total failed functional tests: ${failedSanity}/${allFiles}`,
);
// // Log the formatted message
console.log(`${formattedMessage}`);
Expand Down
Loading

0 comments on commit c5b64dc

Please sign in to comment.