[ruby-core:117620] [Ruby master Bug#20439] Invalid string format with n$ flag is ignored in some case