From 2515100f5e3320a0ab913c4207a83172897d013c Mon Sep 17 00:00:00 2001 From: Antonio Guilherme Ferreira Viggiano Date: Thu, 4 Jan 2024 19:06:13 -0300 Subject: [PATCH] Update scenarios coverage report --- README.md | 2 ++ script/update_readme_coverage.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 33b8e435..19c7ae0e 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Size V2 Solidity | src/oracle/PriceFeed.sol | 100.00% (12/12) | 100.00% (21/21) | 100.00% (8/8) | 100.00% (3/3) | | src/token/NonTransferrableToken.sol | 100.00% (8/8) | 100.00% (9/9) | 100.00% (0/0) | 100.00% (6/6) | +```markdown ┌──────────────────────────────┬────────┐ │ (index) │ Values │ ├──────────────────────────────┼────────┤ @@ -59,6 +60,7 @@ Size V2 Solidity │ UpdateConfig │ 2 │ │ Withdraw │ 1 │ └──────────────────────────────┴────────┘ +``` ## Test diff --git a/script/update_readme_coverage.sh b/script/update_readme_coverage.sh index 3b87bc53..94e199ad 100755 --- a/script/update_readme_coverage.sh +++ b/script/update_readme_coverage.sh @@ -14,7 +14,9 @@ SCENARIOS=$(node -e " scenarios[feature] = scenarios[feature] || 0; scenarios[feature]++; } + console.log('\`\`\`markdown'); console.table(scenarios); + console.log('\`\`\`'); " "$TESTS") BEGIN=$(grep -n BEGIN_COVERAGE README.md | cut -d : -f 1)