Skip to content

Commit

Permalink
test: add useless test to diff
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Nov 7, 2024
1 parent 058a238 commit 1eff8a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/foundry-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # pin@v4
with:
path: cache
key: ${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}-${{ github.sha }}
key: ${{ runner.os }}-bgd-foundry-${{ github.sha }}
restore-keys: |
${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}-
${{ runner.os }}-bgd-foundry-
${{ runner.os }}-
Expand Down Expand Up @@ -66,4 +65,4 @@ jobs:
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # pin@v4
with:
path: cache
key: ${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}-${{ github.sha }}
key: ${{ runner.os }}-bgd-foundry-${{ github.sha }}
12 changes: 12 additions & 0 deletions test/ChainHelperTest.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import 'forge-std/Test.sol';
import {ChainHelpers} from '../src/contracts/utils/ChainHelpers.sol';

contract TestChainHelpers is Test {
function test_selectChain_shouldRevert() external {
vm.expectRevert();
ChainHelpers.selectChain(vm, 0);
}
}

0 comments on commit 1eff8a5

Please sign in to comment.