prysm-pulse/shared/testutil
Radosław Kapka aaa3abf630
Shadowed Predeclared Indentifier analyzer (#7215)
* wip

* working for some ast nodes

* works for all but assignment

* works for all but mixed assignments

* change test name

* plug in the analyzer

* remove `copy` from predeclared list

* rename few shadowing names

* rename `len` to `length`

* add one more test case

* rename `panic` to `panicResult`

* replace `panic` with `panicResult` in error message

* remove test case not covered by the tool

* add `byte` to predeclared list

* additional test cases

* rename `copy` to `copyHandler`

* exclude functions with receivers

* revert to good names

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-09-14 12:49:15 +02:00
..
assert Adds DeepNotEqual assertion (#7092) 2020-08-24 10:14:13 +00:00
assertions Optimizes error message parsing in testutils (#7096) 2020-08-24 15:15:39 +00:00
require Adds DeepNotEqual assertion (#7092) 2020-08-24 10:14:13 +00:00
block_test.go First take of applying assertion funcs to shared tests (#6666) 2020-08-25 10:18:29 +00:00
block.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
BUILD.bazel Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
deposits_test.go First take of applying assertion funcs to shared tests (#6666) 2020-08-25 10:18:29 +00:00
deposits.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
helpers_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
helpers.go Add helper ComputeDomainAndSign (#6773) 2020-07-30 19:11:22 +00:00
spectest.go Update ProcessBlock to use a pipeline (#7148) 2020-08-31 18:29:27 -07:00
state_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
state.go Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
tempdir.go Clear Up Code Inconsistencies (#1836) 2019-03-03 09:31:29 -08:00
wait_timeout.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00