Commit 832292d
committed
fix(test): include TextRecognitionResult in is_valid_display_result
The helper allow-list pre-dated the text-recognition result type, so any
text-rec IQ surfaced by list_image_queries failed the assertion in
test_list_image_queries. Same shape of test fragility was failing on main
already; including TextRecognitionResult clears it.1 parent 7c8400c commit 832292d
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
0 commit comments