Skip to content

Commit 5d1dbb5

Browse files
committed
Rephrase warning message
1 parent a6526b7 commit 5d1dbb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/forge-runner/src/gas/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl Display for ReportData {
112112
if self.0.is_empty() {
113113
writeln!(
114114
f,
115-
"\nNo contract gas usage data to display. Make sure your test include transactions."
115+
"\nNo contract gas usage data to display, no contract calls made."
116116
)?;
117117
}
118118

crates/forge/tests/e2e/gas_report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fn no_transactions() {
135135
Collected 1 test(s) from simple_package package
136136
Running 1 test(s) from src/
137137
[PASS] simple_package::tests::test_fib (l1_gas: ~0, l1_data_gas: ~0, l2_gas: ~[..])
138-
No contract gas usage data to display. Make sure your test include transactions.
138+
No contract gas usage data to display, no contract calls made.
139139
140140
Running 0 test(s) from tests/
141141
Tests: 1 passed, 0 failed, 0 ignored, [..] filtered out

0 commit comments

Comments
 (0)