Commit 1eb56dd
committed
test(audience-sdk): centralise EventQueueTests Msg helper key
EventQueueTests' local Msg helper labelled its dict's event-name
field with an inline "event" key. The string is distinct from the
SDK's wire-format MessageFields.EventName ("eventName"); EventQueue
accepts arbitrary dicts so the test could pick anything. Inline made
this implicit.
Adds a file-local MsgEventKey const at the top of the fixture with a
comment noting the test-scaffolding role and migrates the one usage.
Per the user's "everything random goes in a constant" stance.
Follow-up to SDK-272 (centralisation of duplicated literals).1 parent b967b0b commit 1eb56dd
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments