Commit 404f175
authored
test(openfeature): match printf-style log.debug args (#8059)
The `FlaggingProvider` implementation was migrated to printf-style
`log.debug('%s created with timeout: %dms', ...)` calls (cheaper in
hot paths because the format string is only expanded when the log
level is active). Two spec assertions still expected the pre-formatted
interpolated strings and would fail once the production change lands.
Update the two `sinon.assert.calledWith` calls to match the new
format-string + positional-args shape. Pure test catch-up.1 parent 2958b11 commit 404f175
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments