Skip to content

Instantly share code, notes, and snippets.

@enebo
Created March 3, 2022 17:38
Show Gist options
  • Save enebo/0716f665f46546c03c4e93e038874316 to your computer and use it in GitHub Desktop.
Save enebo/0716f665f46546c03c4e93e038874316 to your computer and use it in GitHub Desktop.
Magic comments in an -e argument are case-insensitive FAILED
Expected
"/home/enebo/Applications/jdks/jdk8u242-b08/bin/java -Xss2048k -Djffi.boot.library.path=/home/enebo/work/jruby/lib/jni -Djruby.backtrace.style=mri -Djava.security.egd=file:/dev/urandom -Xbootclasspath/a:/home/enebo/work/jruby/lib/jruby.jar -classpath : -Djruby.home=/home/enebo/work/jruby -Djruby.home=/home/enebo/work/jruby -Djruby.lib=/home/enebo/work/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main -r /home/enebo/work/jruby/spec/ruby/language/fixtures/print_magic_comment_result_at_exit.rb -e # CoDiNg: bIg5 $magic_comment_result = __ENCODING__.name
" == "Big5"
to be truthy but was false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment