aycabta
90f0f22fcc
[ruby/reline] Use single quotes to match others in the file
...
a17de2d6d8
2021-09-10 09:05:56 +09:00
aycabta
9066496aa3
[ruby/reline] Add a test that autocomplete dialog doesn't crash when empty
...
9c0080c27f
2021-09-10 09:05:45 +09:00
aycabta
8e6ed5d75b
[ruby/reline] Add a test for when completion target is wrapped
...
25a94d70c3
2021-09-10 09:05:35 +09:00
aycabta
f51ce20c6a
[ruby/reline] Fix complete proc of a script for tests
...
ee1c1adddc
2021-09-10 09:05:14 +09:00
aycabta
963e2c33b6
[ruby/reline] Add a test that dialog may appear at the top if cursor at bottom edge
...
6c2ab47958
2021-09-10 09:05:05 +09:00
aycabta
c00643c18a
[ruby/reline] Add a test for dialog at right edge
...
db642169b9
2021-09-10 09:04:56 +09:00
aycabta
c25511ef46
[ruby/reline] Add a test for dialog with scroll key
...
99640abf75
2021-09-10 09:04:47 +09:00
aycabta
c94735fa24
[ruby/reline] Add tests for autocomplete with scrollbar
...
29634cbc93
2021-09-10 09:04:41 +09:00
aycabta
364e646317
[ruby/reline] Add a test for simple dialog
...
d70f507e2c
2021-09-10 09:04:36 +09:00
aycabta
4475953378
[ruby/reline] Add a simple test for autocomplete
...
11f83b2f4b
2021-09-10 09:04:30 +09:00
Nobuyoshi Nakada
7983fb9658
[ruby/irb] Tests may not execute in the source directory
...
f4aaa70cfc
2021-09-10 08:34:51 +09:00
aycabta
62cecea073
Find irb command path in test
2021-09-10 07:43:01 +09:00
aycabta
7cc298a484
[ruby/irb] Pend on truffleruby
...
fbf52d9608
2021-09-10 06:37:07 +09:00
aycabta
3bd596efa4
[ruby/irb] Remove an unused variable
...
5bf1cb2078
2021-09-10 06:37:07 +09:00
Marc-Andre Lafortune
3503c94af5
[ruby/irb] Avoid loading files' local variables [Bug #17623 ]
...
b12f0cb8e2
2021-09-10 06:37:06 +09:00
aycabta
d86c1a3161
[ruby/irb] Add yamatanooroti test for symbol with backtick
...
4d32f0e88e
2021-09-10 04:59:25 +09:00
aycabta
f085a6fb69
[ruby/irb] Support symbol with backtick
...
0aa2425883
2021-09-10 04:59:17 +09:00
Yusuke Endoh
141db4f383
test/psych/test_scalar_scanner.rb: Prevent a warning
...
```
[ 4696/20990] TestAst#test_ranges:test/psych/test_scalar_scanner.rb(none):138: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
20210909
T123007Z.log.html.gz
2021-09-09 23:35:03 +09:00
Peter Zhu
5d81554281
[Bug #18154 ] Fix memory leak in String#initialize
...
String#initialize can leak memory when called on a string that is marked
with STR_NOFREE because it does not unset the STR_NOFREE flag.
2021-09-08 10:20:12 -04:00
aycabta
580f340c33
[ruby/irb] Use "csv" for test
...
The "csv" doesn't conflict with other stdlib names in any Ruby processing
system.
49203a1c83
2021-09-08 05:24:04 +09:00
aycabta
bc24af0f35
[ruby/irb] Show lib name first because it's the most common use case
...
74d635758b
2021-09-08 05:23:56 +09:00
aycabta
95089ddaf4
[ruby/reline] Move only one line when render a line and then go to the next line
...
8a966cd962
2021-09-08 01:11:13 +09:00
Nobuyoshi Nakada
26153667f9
[ruby/pathname] Prefer omit over skip
...
abd0b91044
2021-09-07 13:02:56 +09:00
Hiroshi SHIBATA
afd7d1672f
Removed obsoleted comment
2021-09-06 19:36:04 +09:00
Hiroshi SHIBATA
ecfbf1df33
Use Test::Unit::PendedError instead of MiniTest::Skip for test-unit migration
2021-09-06 19:33:56 +09:00
Hiroshi SHIBATA
940a19e4b3
Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration
2021-09-06 18:34:15 +09:00
Hiroshi SHIBATA
13dd07e397
Removed redundant tests
2021-09-06 13:11:29 +09:00
Hiroshi SHIBATA
a68a1b0b7d
Removed MiniTest::Assertion from test/rdoc
2021-09-06 13:11:29 +09:00
aycabta
540eea39dd
[ruby/reline] Add a test for key bindings with Reline::Key
...
cadbd576c7
2021-09-06 08:10:08 +09:00
aycabta
83a0807b3b
[ruby/reline] Add a test for oneshot key bindings
...
42ebea82b7
2021-09-06 08:10:02 +09:00
aycabta
14cc611133
[ruby/reline] Rename a temporary test name to appropriate one
...
26ebecde5c
2021-09-06 08:09:57 +09:00
aycabta
168bd4f356
[ruby/reline] Add a test for Reline::Unicode#take_range
...
af7953ff93
2021-09-06 08:09:50 +09:00
Hiroshi SHIBATA
8f752c95d2
[ruby/fiddle] Use test-unit gem ( https://github.com/ruby/fiddle/pull/69 )
...
e08c4c635e
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
2021-09-05 17:43:48 +09:00
aycabta
ff372ed74b
[ruby/irb] Suppress "assigned but unused variable" warning
...
a1ddf64c69
2021-09-04 17:48:31 +09:00
aycabta
9ac32e87bb
[ruby/irb] Add an assertion to check completion "var.method" to get correct "class.method"
...
cc1ddb37a9
2021-09-04 17:48:26 +09:00
aycabta
6fa37d2666
[ruby/irb] Retrieve completed receiver that is a module or class correctly
...
b2324727e1
2021-09-04 17:48:20 +09:00
aycabta
f6bc4b9b97
[ruby/irb] Use autocomplete with show doc dialog that uses Reline::Key in tests
...
142fc53e9c
2021-09-04 02:32:04 +09:00
Nobuyoshi Nakada
76c7388c1f
[ruby/rdoc] Add tests for --template-stylesheets
option
...
Also flattens `@options.template_stylesheets` when parsing the
command lines.
Fixes #205
Fixes #828 too
857002a763
2021-09-03 19:13:15 +09:00
Vít Ondruch
33676a7aa6
[ruby/rdoc] Try to load WEBrick for testing
...
This is in similar vein Rake is optionally loaded in:
5437418baf/test/rdoc/test_rdoc_task.rb (L3-L6)
5f3901ae60
2021-09-03 19:12:24 +09:00
Hiroshi SHIBATA
b809e5a4a9
[ruby/rdoc] s/minitest/test-unit/g
...
73c030c7b0
2021-09-03 19:10:34 +09:00
Hiroshi SHIBATA
0a9a3799bb
[ruby/rdoc] Removed duplicated doc
...
0dd36a5c35
2021-09-03 19:10:28 +09:00
aycabta
5458f23de2
[ruby/irb] Add TODO comment to remove disabling autocomplete later
...
856f001b60
2021-09-03 04:28:45 +09:00
aycabta
864b40176d
[ruby/irb] Disable autocomplete in yamatanooroti test
...
cb9c9c64df
2021-09-03 04:28:38 +09:00
aycabta
b4efa37d98
[ruby/readline-ext] Omit Editline on without tty test
...
a2835ce957
2021-09-03 03:34:09 +09:00
Peter Zhu
682f58a933
Fix typo in test name
2021-09-02 09:57:02 -04:00
aycabta
4e40b7ddb0
[ruby/irb] Detect the variable class to show doc
...
33b9bec954
2021-09-02 21:39:55 +09:00
aycabta
4852d87a81
[ruby/reline] Fix a crash when completing empty line
...
8226ae7e57
2021-09-02 14:07:48 +09:00
aycabta
5f23003cc2
[ruby/reline] Fix a crash when completing after 2nd line
...
f9d3480c34
2021-09-02 14:07:40 +09:00
Nobuyoshi Nakada
ab63f6d854
Refined test [Bug #18140 ]
2021-09-02 09:11:41 +09:00
Aaron Patterson
8db269edb3
Guard array when appending
...
This prevents early collection of the array. The GC doesn't see the
array on the stack when Ruby is compiled with optimizations enabled
Thanks @jhaberman for the test case
[ruby-core:105099] [Bug #18140 ]
2021-09-01 10:58:20 -07:00