Commit 05dcc36
Tests: Fix output buffer test to correctly capture callback-processed output
ob_get_flush() returns the original unprocessed buffer content, not the
callback-processed result. Use a nested buffer approach instead: start an
outer buffer, flush the inner buffer (triggering the callback), then get
the processed content from the outer buffer.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 291c608 commit 05dcc36
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
124 | | - | |
125 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
0 commit comments