Nobuyoshi Nakada 4c072c8119 Fix assert_warning for Proc
`Proc` does not have `encoding` method.

Also, make `assert_raise_with_message` accept a `Proc` as the expected
pattern, as well.
2025-03-17 23:42:16 +09:00
..
2025-03-06 16:58:13 +09:00
2025-03-17 23:42:16 +09:00
2025-03-17 23:42:16 +09:00