Skip to content

Commit 4ddc546

Browse files
committed
fix test
1 parent 09bfdbb commit 4ddc546

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compilation/types/slither.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (s *SlitherConfig) RunSlither(target string) (*SlitherResults, error) {
9494
// Cache the results if we have not cached before. We have also already checked that the output is well-formed
9595
// (through unmarshal) so we should be safe.
9696
if !haveCachedResults && s.CachePath != "" {
97-
// TODO: Should we indent the output?
97+
// Cache the data
9898
err = os.WriteFile(s.CachePath, out, 0644)
9999
if err != nil {
100100
// If we are unable to write to the cache, we should log the error but continue

fuzzing/fuzzer_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ func TestSlitherPrinter(t *testing.T) {
7676
-456, // negative of 456
7777
0, // the false in testFuzz is added as zero in the value set
7878
1, // true is evaluated as 1
79-
-1, // negative of 1
8079
}
8180
expectedAddrs := []common.Address{
8281
common.HexToAddress("0"),

0 commit comments

Comments
 (0)