We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby version: 9.1.8.0 (2.3.1) Platform: Linux 4.2.0-1-amd64 #1 SMP Debian 4.2.6-3 (2015-12-06) x86_64 GNU/Linux
When I try this code line: '%<foo>.2f %<bar>.2f' % {foo: 10, bar: 5}
'%<foo>.2f %<bar>.2f' % {foo: 10, bar: 5}
I expect this output: "10.00 5.00
"10.00 5.00
What I get is an exception with this error: ArgumentError: name<bar> after <foo>
ArgumentError: name<bar> after <foo>
-- David
The text was updated successfully, but these errors were encountered:
4ba5e5e
Add spec which shows ArgumentError if missing repeated key.
23d2e12
This fixed JRuby #4523.
Add spec which shows ArgumentError if missing repeated key
9bffb07
* See jruby/jruby#4523.
No branches or pull requests
Environment
JRuby version: 9.1.8.0 (2.3.1)
Platform: Linux 4.2.0-1-amd64 #1 SMP Debian 4.2.6-3 (2015-12-06) x86_64 GNU/Linux
Expected Behavior
When I try this code line:
'%<foo>.2f %<bar>.2f' % {foo: 10, bar: 5}
I expect this output:
"10.00 5.00
Actual Behavior
What I get is an exception with this error:
ArgumentError: name<bar> after <foo>
--
David
The text was updated successfully, but these errors were encountered: