Commit a10c0d1
Add test on conditional evaluation of the message
Summary: Avoiding evaluation of the message expression is an important feature, since it may be expensive while being almost always disabled, however this guarantee is not specified anywhere and the way that the code ensures this is a bit subtle, so add a test to make sure we don't regress on this.
Reviewed By: skrueger
Differential Revision: D90598684
fbshipit-source-id: 11f41246c1ab313aebaca2a8b2e047899ce5ec041 parent 4e7e207 commit a10c0d1
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
154 | 175 | | |
155 | 176 | | |
156 | 177 | | |
| |||
0 commit comments