ruby/test
Jeremy Evans 268c72377b
Raise a compile error for break/next/redo inside eval in cases where it is optimized away
In cases where break/next/redo are not valid syntax, they should
raise a SyntaxError even if inside a conditional block that is
optimized away.

Fixes [Bug #20597]

Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-09-18 16:54:56 -07:00
..
-ext- Use macos? helper 2024-09-11 18:13:01 +09:00
.excludes
.excludes-parsey Temporarily exclude some TestRubyOptions test for parse.y 2024-09-12 13:43:04 -04:00
benchmark
cgi
coverage [PRISM] Modify test_coverage to take prism into account 2024-04-26 12:25:45 -04:00
date
did_you_mean
digest
dtrace
erb
error_highlight [ruby/error_highlight] Make test_COLON2_5 conditional again 2024-07-12 06:26:53 +00:00
etc
fiber Prevent warning: assigned but unused variable - message 2024-09-17 13:56:04 +09:00
fiddle [ruby/fiddle] Pick ruby/ruby changes for 2024-07-02 18:33:39 +09:00
fileutils Skip some tests which don't work under permissionless containers 2024-08-23 09:34:41 +10:00
io [ruby/io-console] Store console IO in Ractor-local storage 2024-08-31 08:43:59 +00:00
irb [ruby/irb] Fix easter_egg run without RDoc, fix input-method test 2024-09-03 15:45:40 +00:00
json [flori/json] Use the compiled extension in test 2024-09-03 11:51:51 +09:00
lib [PRISM] Refactor parser support into its own module 2024-07-18 21:15:54 -04:00
logger [ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice 2024-07-11 15:25:17 +00:00
mkmf Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt 2024-06-24 18:14:34 +09:00
monitor
net [ruby/net-http] Prevent warnings 2024-09-13 02:39:11 +00:00
objspace Replace all GC.disable with EnvUtil.without_gc 2024-09-17 10:34:26 -04:00
open-uri [ruby/open-uri] Update error message for `request_specific_fields` option validation 2024-09-08 14:13:00 +00:00
openssl [ruby/openssl] Fix test_provider.rb in FIPS. 2024-09-06 16:58:18 +00:00
optparse [ruby/optparse] Fix parsing array arguments with `:into` option 2024-08-05 02:28:12 +00:00
ostruct
pathname
prism [ruby/prism] Allow returns in default parameter values 2024-09-18 11:52:27 -04:00
psych [ruby/psych] Ensure strings with only underscores are not processed as Integer 2024-09-11 17:19:18 +00:00
rdoc [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00
reline [ruby/reline] Prevent a warning for `warning: literal string will be 2024-09-05 12:22:34 +00:00
resolv [ruby/resolv] test_dns: Fix FD leak 2024-09-10 08:34:37 +00:00
ripper Fix leak of token_info when Ripper#warn jumps 2024-08-07 09:14:14 -04:00
ruby Raise a compile error for break/next/redo inside eval in cases where it is optimized away 2024-09-18 16:54:56 -07:00
rubygems [rubygems/rubygems] Make `gem exec` use the standard GEM_HOME 2024-09-09 08:46:01 +00:00
set
socket Allow Errno::EACCES when testing connection timeout 2024-09-03 18:21:01 -07:00
stringio [ruby/stringio] Remove special handling of chilled strings 2024-05-30 15:11:48 +00:00
strscan [ruby/strscan] Accept String as a pattern at non head 2024-09-17 15:12:25 +09:00
uri [ruby/uri] Use URI::RFC2396_PARSER explicitly in URI 2024-08-08 02:09:27 +00:00
win32 Test for win32/registry.rb 2024-05-03 14:47:18 +09:00
win32ole [ruby/win32ole] Test constants for the backward compatibility 2024-03-23 10:34:35 +00:00
yaml
zlib [ruby/zlib] Avoid allocating intermediary strings when read/readpartial are passed an outbuf 2024-05-14 21:44:34 +00:00
runner.rb
test_bundled_gems.rb bundled_gems.rb: Add a fast path 2024-07-22 10:33:07 +02:00
test_delegate.rb [ruby/delegate] test: remove needless mu_pp 2024-04-30 23:31:26 +00:00
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb [ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation 2024-04-18 10:27:19 +09:00
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_shellwords.rb
test_singleton.rb
test_tempfile.rb [ruby/tempfile] Support anonymous tempfile on earlier than Ruby 3.2 2024-08-26 02:49:02 +00:00
test_time.rb
test_timeout.rb Make test_nested_timeouts less flaky 2024-05-28 12:49:46 +09:00
test_tmpdir.rb [ruby/tmpdir] Reject empty parent path 2024-09-10 08:44:50 +00:00
test_trick.rb Ensure test suite is compatible with --frozen-string-literal 2024-03-14 17:56:15 +01:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb