Skip to content

Commit c0b1749

Browse files
committed
fmt
1 parent 7173999 commit c0b1749

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

testdata/default/cheats/StateDiffBytesString.t.sol

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ contract StateDiffBytesStringTest is DSTest {
112112
vm.startStateDiffRecording();
113113

114114
// Set a long string (32 bytes or more)
115-
string
116-
memory longStr = "This is a very long string that exceeds 32 bytes and will be stored differently in Solidity storage";
115+
string memory longStr =
116+
"This is a very long string that exceeds 32 bytes and will be stored differently in Solidity storage";
117117
bytesStringStorage.setLongString(longStr);
118118

119119
// Get the state diff as string
@@ -142,11 +142,7 @@ contract StateDiffBytesStringTest is DSTest {
142142
uint256 writeCount = 0;
143143
for (uint256 i = 0; i < accesses.length; i++) {
144144
if (accesses[i].account == address(bytesStringStorage)) {
145-
for (
146-
uint256 j = 0;
147-
j < accesses[i].storageAccesses.length;
148-
j++
149-
) {
145+
for (uint256 j = 0; j < accesses[i].storageAccesses.length; j++) {
150146
if (accesses[i].storageAccesses[j].isWrite) {
151147
writeCount++;
152148
}
@@ -243,9 +239,7 @@ contract StateDiffBytesStringTest is DSTest {
243239

244240
// Make multiple changes
245241
bytesStringStorage.setShortString("Short");
246-
bytesStringStorage.setLongString(
247-
"This is a long string that will use multiple storage slots for data"
248-
);
242+
bytesStringStorage.setLongString("This is a long string that will use multiple storage slots for data");
249243
bytesStringStorage.setShortBytes(hex"1234");
250244
bytesStringStorage.setFixedBytes(bytes32(uint256(0xdeadbeef)));
251245

0 commit comments

Comments
 (0)