Skip to content

Commit

Permalink
reassign structlit test todos (212 more appropriate than 97)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaël Lévesque-Dion committed Jan 13, 2021
1 parent 4c6ef29 commit c26698c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ func TestStructHoldingSourceAndInnocIsTainted(s core.Source, i core.Innocuous) {
s,
i,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

func TestStructHoldingSourceAndInnocIsTaintedReverseFieldOrder(s core.Source, i core.Innocuous) {
h := Holder{
i: i,
s: s,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

func TestStructHoldingSourceAndInnocPointersIsTainted(s *core.Source, i *core.Innocuous) {
h := PointerHolder{
s,
i,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

func TestStructHoldingSourceAndInnocPointersIsTaintedReverseFieldOrder(s *core.Source, i *core.Innocuous) {
h := PointerHolder{
i: i,
s: s,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

func TestAnonymousStructHoldingSourceAndInnocIsTainted(s core.Source, i core.Innocuous) {
Expand All @@ -69,7 +69,7 @@ func TestAnonymousStructHoldingSourceAndInnocIsTainted(s core.Source, i core.Inn
i: i,
s: s,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

func TestAnonymousStructHoldingSourceAndInnocPointersIsTainted(s *core.Source, i *core.Innocuous) {
Expand All @@ -80,5 +80,5 @@ func TestAnonymousStructHoldingSourceAndInnocPointersIsTainted(s *core.Source, i
i: i,
s: s,
}
core.Sink(h) // TODO(#97) want "a source has reached a sink"
core.Sink(h) // TODO(#212) want "a source has reached a sink"
}

0 comments on commit c26698c

Please sign in to comment.