mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
fn: breaking - fix type variables for better inference
This commit is contained in:
@@ -427,7 +427,7 @@ func TestSingletonInitIsEmpty(t *testing.T) {
|
||||
// empty slice.
|
||||
func TestPropAlwaysNoneEmptyFilterMap(t *testing.T) {
|
||||
f := func(s []int) bool {
|
||||
filtered := FilterMap(s, Const[Option[int], int](None[int]()))
|
||||
filtered := FilterMap(s, Const[int](None[int]()))
|
||||
return len(filtered) == 0
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user