Skip to content

Commit 0664a4b

Browse files
committed
Deploying to gh-pages from @ b3481d8 🚀
1 parent da26362 commit 0664a4b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

coverage.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@
767767

768768
<span class="cov6" title="20">specsStack := stack.New[typedPlugin]()
769769

770-
for pluginType, pluginValue := range seed.plugins </span><span class="cov7" title="40">{
770+
for pluginType, pluginValue := range seed.plugins </span><span class="cov7" title="41">{
771771
specsStack.Push(typedPlugin{
772772
Plugin: pluginValue,
773773
Type: pluginType,
@@ -816,7 +816,7 @@
816816
v reflect.Value,
817817
plugins map[reflect.Type]testoplugin.Plugin,
818818
specs *stack.Stack[typedPlugin],
819-
) <span class="cov9" title="134">{
819+
) <span class="cov9" title="135">{
820820
if plugin, ok := plugins[v.Type().Elem()]; ok </span><span class="cov8" title="75">{
821821
elem := v.Elem()
822822

@@ -837,14 +837,14 @@
837837
})</span>
838838
}
839839

840-
<span class="cov9" title="134">v = reflectutil.Elem(v)
840+
<span class="cov9" title="135">v = reflectutil.Elem(v)
841841

842842
if v.Kind() != reflect.Struct </span><span class="cov0" title="0">{
843843
return
844844
}</span>
845845

846846
// special case - we do not go deeper than that.
847-
<span class="cov9" title="134">if v.Type() == reflect.TypeFor[T]() </span><span class="cov8" title="72">{
847+
<span class="cov9" title="135">if v.Type() == reflect.TypeFor[T]() </span><span class="cov8" title="73">{
848848
return
849849
}</span>
850850

@@ -957,12 +957,12 @@
957957
// Nested pointers are also supported - e.g. given "****value" it will return "value".
958958
//
959959
// Non-pointer values will be returned as is.
960-
func Elem[T canElem[T]](v T) T <span class="cov8" title="199">{
961-
for v.Kind() == reflect.Pointer </span><span class="cov8" title="267">{
960+
func Elem[T canElem[T]](v T) T <span class="cov8" title="200">{
961+
for v.Kind() == reflect.Pointer </span><span class="cov8" title="268">{
962962
v = v.Elem()
963963
}</span>
964964

965-
<span class="cov8" title="199">return v</span>
965+
<span class="cov8" title="200">return v</span>
966966
}
967967

968968
// NameOf returns name of the underlying type T.
@@ -1106,7 +1106,7 @@
11061106
return len(s.values)
11071107
}</span>
11081108

1109-
func (s *Stack[T]) Push(v T) <span class="cov9" title="121">{
1109+
func (s *Stack[T]) Push(v T) <span class="cov9" title="122">{
11101110
s.values = append(s.values, v)
11111111
}</span>
11121112

0 commit comments

Comments
 (0)