Commit 84017f1
committed
Fix spec regexes for Ruby 3.4 compatibility
Ruby 3.4 changed NoMethodError messages to use single quotes instead
of backticks, and Hash#inspect to use symbol-key syntax ({key: "val"})
instead of rocket syntax ({:key=>"val"}). Update test regexes to
accept both formats.1 parent c686dc0 commit 84017f1
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- spec
- advanced_sneakers_activejob/workers_registry
- integration
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments