(t *testing.T)
| 203 | } |
| 204 | |
| 205 | func TestOneof(t *testing.T) { |
| 206 | t.Parallel() |
| 207 | t.Run("exclude-partial", func(t *testing.T) { |
| 208 | t.Parallel() |
| 209 | runDiffTest(t, "testdata/oneofs", "pkg.Foo.exclude-partial.txtar", WithIncludeTypes("pkg.Foo"), WithExcludeTypes("pkg.FooEnum", "pkg.Bar.BarNested")) |
| 210 | }) |
| 211 | t.Run("exclude-bar", func(t *testing.T) { |
| 212 | t.Parallel() |
| 213 | runDiffTest(t, "testdata/oneofs", "pkg.Foo.exclude-bar.txtar", WithIncludeTypes("pkg.Foo"), WithExcludeTypes("pkg.FooEnum", "pkg.Bar")) |
| 214 | }) |
| 215 | } |
| 216 | |
| 217 | func TestOptions(t *testing.T) { |
| 218 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…