(t *testing.T)
| 84 | } |
| 85 | |
| 86 | func (f *FourslashTest) baselineState(t *testing.T) { |
| 87 | t.Helper() |
| 88 | |
| 89 | if !f.testData.isStateBaseliningEnabled() { |
| 90 | return |
| 91 | } |
| 92 | |
| 93 | serialized := f.serializedState(t) |
| 94 | if serialized != "" { |
| 95 | f.stateBaseline.baseline.WriteString("\n") |
| 96 | f.stateBaseline.baseline.WriteString(serialized) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func (f *FourslashTest) serializedState(t *testing.T) string { |
| 101 | t.Helper() |
no test coverage detected