ruby/test
Takashi Kokubun cb40a21da0
Warn compile_error only when input is finished
Let's say we are in progress to write `"foo"`:

```
irb> "fo
```

at this moment, nothing is wrong.
It would be just a normal way to write `"foo"`.

Prior to this commit, the `fo` part was warned because of
5b64d7ac6e. But I think warning such a
normal input is not valuable for users.

However, we'd like to warn `:@1` or `@@1` which is also a syntax error.
Then this commit switches the syntax highlight based on whether the
input text is finished or not. When it's not finished yet, it does not
warn compile_error.
2019-05-31 06:54:00 +09:00
..
-ext- Adjust indent 2019-05-10 22:00:22 +09:00
base64
benchmark
bigdecimal Import bigdecimal-1.4.0.pre.20181220a 2018-12-20 23:29:49 +00:00
cgi Revert "ext/cgi/escape: preserve String subclass in result" 2018-05-03 01:24:09 +00:00
coverage Introduce pattern matching [EXPERIMENTAL] 2019-04-17 06:48:03 +00:00
csv Import CSV 3.0.9 2019-04-15 02:05:03 +00:00
date date: support for Reiwa, new Japanese era 2019-04-09 01:27:36 +00:00
dbm Support old versions of Ruby with FrozenError. 2018-08-07 12:47:11 +00:00
digest Fix tests which fail with extra stderr output when a Thread dies 2017-12-12 18:44:21 +00:00
drb ignore test_RangeError 2019-05-04 23:32:13 +09:00
dtrace test/dtrace: use TracePoint.__enable 2018-12-11 09:49:31 +00:00
erb erb.rb: prohibit marshaling [EXPERIMENTAL] 2019-03-28 03:46:48 +00:00
etc test_etc.rb: fix test_getgrnam for duplicated group names 2017-09-29 17:19:37 +00:00
excludes Test GC.compact on MJIT again 2019-05-23 00:07:16 -07:00
fiddle test/fiddle/test_function.rb: loosen timeout 2018-12-23 01:40:33 +00:00
fileutils Guard out the test when it is run under root permission 2019-03-14 01:04:53 +00:00
gdbm Support old versions of Ruby with FrozenError. 2018-08-07 12:47:11 +00:00
io test_io_wait.rb: try to stabilize test_wait_readable 2018-12-31 12:54:40 +00:00
irb Warn compile_error only when input is finished 2019-05-31 06:54:00 +09:00
json Merge json-2.2.0 from flori/json. 2019-02-23 03:43:58 +00:00
lib test/lib/envutil.rb (EnvUtil.timeout): added. 2019-05-26 17:23:14 +09:00
logger Remove unused variables 2018-03-17 06:41:35 +00:00
matrix lib/matrix.rb: Make Matrix & Vector mutable. Add #[]=, #map!. 2018-11-02 17:52:51 +00:00
minitest Use github url instead of ViewVC. 2019-04-22 20:00:32 +09:00
misc
mkmf test/mkmf/test_flags.rb: try to suppress random CI failure 2018-12-27 16:24:46 +00:00
monitor lib/monitor.rb: avoid race conditions by Thread.handle_interrupt 2018-11-28 01:51:44 +00:00
net test/net/fixtures/Makefile: moved from test/net/imap 2019-01-02 04:18:34 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace fix imemo entry description. 2019-02-13 04:24:59 +00:00
open-uri open-uri: Regenerate server certificates for tests 2019-05-27 12:58:08 +09:00
openssl ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV 2019-04-10 12:57:39 +00:00
optparse Allow --enable/--disable options to take an argument 2019-05-15 17:31:11 +09:00
ostruct ostruct.rb: Accept block for to_h [#15451]. 2018-12-22 17:05:03 +00:00
pathname STATX_BTIME depends on filesystems 2019-02-22 06:43:11 +00:00
psych Make rubygems follow the upstream of psych 2018-11-11 00:20:27 +00:00
rdoc Fix a typo in an assertion message 2019-03-30 12:35:13 +00:00
readline Revert 3b7862c8e8 causing various CI hangs 2019-05-29 09:05:26 +09:00
reline Remove extra items because Reline::HISTORY is a sized queue 2019-05-29 10:04:58 +09:00
resolv Fix a typo [ci skip] 2018-11-11 11:58:38 +00:00
rexml Really ensure loading REXML in tests 2018-12-20 04:03:10 +00:00
rinda Add debug message for test_rinda crash 2019-04-07 08:18:09 +00:00
ripper parse.y: adjust here-doc error token 2019-05-30 22:03:33 +09:00
rss Upgrade RSS to 0.2.8 2019-01-25 06:35:04 +00:00
ruby parse.y: continue after heredoc error 2019-05-30 12:38:50 +09:00
rubygems test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend the timeout 2019-05-29 13:01:53 +09:00
scanf Fix bug about String#scanf("%a") 2017-10-21 12:34:13 +00:00
sdbm skip some tests so that no failure occurs in root privilege 2018-01-10 10:39:09 +00:00
shell Promote Shell library to default gems. 2018-07-20 02:24:59 +00:00
socket disable non-blocking pipes and sockets by default 2018-11-29 20:00:00 +00:00
stringio setbyte / ungetbyte allow out-of-range integers 2019-01-15 06:41:58 +00:00
strscan strscan.c: add MatchData-like methods 2017-11-29 07:57:48 +00:00
syslog
testunit Trim MJIT output from TestHideSkip 2019-05-08 17:30:15 +09:00
uri http_proxy setting should respect both parent domain and subdomain 2018-05-17 07:40:01 +00:00
webrick Added to check MJIT constant for the Ruby 2.3-2.5. 2019-03-11 10:09:48 +00:00
win32ole Add one more retry for win32ole event matcher 2019-05-10 11:54:21 +09:00
yaml
zlib zlib (gzfile_write_raw): do not resize string after .write call 2018-12-07 07:09:31 +00:00
colors
runner.rb the working directory may not be srcdir 2017-09-07 17:45:34 +00:00
test_abbrev.rb
test_cmath.rb Add test for coverage. 2018-08-07 09:52:53 +00:00
test_delegate.rb delegate.rb: don't look for methods on Kernel 2019-05-13 11:29:42 +09:00
test_extlibs.rb Revert "test/test_extilibs.rb: do not check the existence of fiddle" 2017-05-16 23:59:01 +00:00
test_find.rb Fix indent and use as skipped message instead of comment 2018-01-11 13:56:04 +00:00
test_forwardable.rb Add test for Forwardable#def_delegator with r55366. 2018-02-01 09:07:16 +00:00
test_ipaddr.rb Import ipaddr 1.2.2 2018-12-18 05:09:08 +00:00
test_mutex_m.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_observer.rb
test_open3.rb use :chdir option to avoid fd 3 to work with Windows. 2018-12-13 08:53:15 +00:00
test_pp.rb test_pp.rb: show the node when failed 2018-12-03 00:57:06 +00:00
test_prettyprint.rb
test_prime.rb test/test_prime.rb: add testcases of prime library 2018-06-24 09:31:06 +00:00
test_pstore.rb
test_pty.rb Remove needless lines 2018-06-12 14:36:32 +00:00
test_rbconfig.rb
test_securerandom.rb fix visibility of SecureRandom.gen_random 2019-05-14 11:44:20 +09:00
test_set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
test_shellwords.rb
test_singleton.rb
test_sync.rb Move obsoleted test/thread/test_*.rb with the current implementation. 2018-07-31 03:49:38 +00:00
test_syslog.rb
test_tempfile.rb Windows simply causes an error to open invalid path 2019-05-01 17:38:45 +09:00
test_time.rb Test for "%p" in Time.strptime 2019-01-08 07:45:04 +00:00
test_timeout.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_tmpdir.rb tmpdir.rb: permission of user given directory 2019-01-23 06:06:47 +00:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb update to Unicode Version 12.1.0 (beta) 2019-04-05 00:58:51 +00:00
test_weakref.rb Pin weakmap references 2019-04-09 23:03:40 +00:00
test_win32api.rb test_win32api.rb: suppress a warning 2018-09-23 12:40:46 +00:00