opal 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +17 -0
- data/CHANGELOG.md +35 -1
- data/Gemfile +1 -0
- data/HACKING.md +47 -26
- data/benchmark/benchmarks +415 -103
- data/benchmark/bm_call_overhead.yml +28 -0
- data/benchmark/run.rb +61 -40
- data/docs/cdp_common.json +3364 -0
- data/docs/cdp_common.md +18 -0
- data/docs/{headless_chrome.md → headless_browsers.md} +31 -12
- data/lib/opal/ast/builder.rb +1 -1
- data/lib/opal/builder.rb +6 -1
- data/lib/opal/builder_processors.rb +5 -3
- data/lib/opal/cache.rb +1 -7
- data/lib/opal/cli_options.rb +72 -58
- data/lib/opal/cli_runners/chrome.rb +47 -9
- data/lib/opal/cli_runners/chrome_cdp_interface.rb +238 -112
- data/lib/opal/cli_runners/compiler.rb +146 -13
- data/lib/opal/cli_runners/deno.rb +32 -0
- data/lib/opal/cli_runners/firefox.rb +350 -0
- data/lib/opal/cli_runners/firefox_cdp_interface.rb +212 -0
- data/lib/opal/cli_runners/node_modules/.bin/chrome-remote-interface.cmd +17 -0
- data/lib/opal/cli_runners/node_modules/.bin/chrome-remote-interface.ps1 +28 -0
- data/lib/opal/cli_runners/node_modules/.package-lock.json +41 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/LICENSE +1 -1
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/README.md +322 -182
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/bin/client.js +99 -114
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/chrome-remote-interface.js +1 -11
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/index.js +16 -11
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/api.js +41 -33
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/chrome.js +224 -214
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/devtools.js +71 -191
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/external-request.js +26 -6
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/protocol.json +20788 -9049
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/websocket-wrapper.js +10 -3
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/package.json +59 -123
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/webpack.config.js +25 -32
- data/lib/opal/cli_runners/node_modules/commander/History.md +298 -0
- data/lib/opal/cli_runners/node_modules/commander/LICENSE +22 -0
- data/lib/opal/cli_runners/node_modules/commander/Readme.md +217 -61
- data/lib/opal/cli_runners/node_modules/commander/index.js +431 -145
- data/lib/opal/cli_runners/node_modules/commander/package.json +16 -79
- data/lib/opal/cli_runners/node_modules/ws/README.md +334 -98
- data/lib/opal/cli_runners/node_modules/ws/browser.js +8 -0
- data/lib/opal/cli_runners/node_modules/ws/index.js +5 -10
- data/lib/opal/cli_runners/node_modules/ws/lib/buffer-util.js +129 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/constants.js +10 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/event-target.js +184 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/extension.js +223 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/limiter.js +55 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/permessage-deflate.js +518 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/receiver.js +607 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/sender.js +409 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/stream.js +180 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/validation.js +104 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/websocket-server.js +447 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/websocket.js +1195 -0
- data/lib/opal/cli_runners/node_modules/ws/package.json +40 -106
- data/lib/opal/cli_runners/package-lock.json +62 -0
- data/lib/opal/cli_runners/package.json +1 -1
- data/lib/opal/cli_runners.rb +26 -4
- data/lib/opal/nodes/args/prepare_post_args.rb +2 -2
- data/lib/opal/nodes/def.rb +8 -8
- data/lib/opal/nodes/iter.rb +12 -12
- data/lib/opal/nodes/logic.rb +1 -1
- data/lib/opal/nodes/masgn.rb +2 -2
- data/lib/opal/parser/with_ruby_lexer.rb +1 -1
- data/lib/opal/paths.rb +14 -0
- data/lib/opal/rewriter.rb +2 -0
- data/lib/opal/rewriters/forward_args.rb +52 -4
- data/lib/opal/rewriters/targeted_patches.rb +94 -0
- data/lib/opal/version.rb +1 -1
- data/opal/corelib/basic_object.rb +1 -1
- data/opal/corelib/boolean.rb +2 -2
- data/opal/corelib/class.rb +11 -0
- data/opal/corelib/constants.rb +3 -3
- data/opal/corelib/enumerable.rb +4 -0
- data/opal/corelib/enumerator.rb +1 -1
- data/opal/corelib/hash.rb +2 -2
- data/opal/corelib/helpers.rb +1 -1
- data/opal/corelib/kernel.rb +3 -3
- data/opal/corelib/method.rb +1 -1
- data/opal/corelib/module.rb +29 -8
- data/opal/corelib/proc.rb +7 -5
- data/opal/corelib/runtime.js +141 -78
- data/opal/corelib/set.rb +252 -0
- data/opal/corelib/string.rb +2 -1
- data/opal/corelib/time.rb +2 -2
- data/opal/opal.rb +1 -0
- data/opal.gemspec +1 -0
- data/spec/filters/bugs/array.rb +22 -13
- data/spec/filters/bugs/base64.rb +5 -5
- data/spec/filters/bugs/basicobject.rb +16 -8
- data/spec/filters/bugs/bigdecimal.rb +161 -160
- data/spec/filters/bugs/binding.rb +10 -10
- data/spec/filters/bugs/class.rb +8 -8
- data/spec/filters/bugs/complex.rb +2 -1
- data/spec/filters/bugs/date.rb +79 -81
- data/spec/filters/bugs/datetime.rb +29 -29
- data/spec/filters/bugs/delegate.rb +1 -3
- data/spec/filters/bugs/encoding.rb +69 -69
- data/spec/filters/bugs/enumerable.rb +22 -20
- data/spec/filters/bugs/enumerator.rb +88 -85
- data/spec/filters/bugs/exception.rb +46 -40
- data/spec/filters/bugs/file.rb +32 -32
- data/spec/filters/bugs/float.rb +26 -21
- data/spec/filters/bugs/freeze.rb +88 -0
- data/spec/filters/bugs/hash.rb +39 -38
- data/spec/filters/bugs/integer.rb +57 -44
- data/spec/filters/bugs/io.rb +1 -1
- data/spec/filters/bugs/kernel.rb +349 -269
- data/spec/filters/bugs/language.rb +220 -188
- data/spec/filters/bugs/main.rb +5 -3
- data/spec/filters/bugs/marshal.rb +38 -38
- data/spec/filters/bugs/math.rb +2 -1
- data/spec/filters/bugs/method.rb +73 -62
- data/spec/filters/bugs/module.rb +163 -143
- data/spec/filters/bugs/numeric.rb +6 -6
- data/spec/filters/bugs/objectspace.rb +16 -16
- data/spec/filters/bugs/openstruct.rb +1 -1
- data/spec/filters/bugs/pack_unpack.rb +51 -51
- data/spec/filters/bugs/pathname.rb +7 -7
- data/spec/filters/bugs/proc.rb +63 -63
- data/spec/filters/bugs/random.rb +7 -6
- data/spec/filters/bugs/range.rb +12 -9
- data/spec/filters/bugs/rational.rb +8 -7
- data/spec/filters/bugs/regexp.rb +49 -48
- data/spec/filters/bugs/ruby-32.rb +56 -0
- data/spec/filters/bugs/set.rb +30 -30
- data/spec/filters/bugs/singleton.rb +4 -4
- data/spec/filters/bugs/string.rb +187 -99
- data/spec/filters/bugs/stringio.rb +7 -0
- data/spec/filters/bugs/stringscanner.rb +68 -68
- data/spec/filters/bugs/struct.rb +11 -9
- data/spec/filters/bugs/symbol.rb +1 -1
- data/spec/filters/bugs/time.rb +78 -63
- data/spec/filters/bugs/trace_point.rb +4 -4
- data/spec/filters/bugs/unboundmethod.rb +32 -17
- data/spec/filters/bugs/warnings.rb +8 -12
- data/spec/filters/unsupported/array.rb +24 -107
- data/spec/filters/unsupported/basicobject.rb +12 -12
- data/spec/filters/unsupported/bignum.rb +27 -52
- data/spec/filters/unsupported/class.rb +1 -2
- data/spec/filters/unsupported/delegator.rb +3 -3
- data/spec/filters/unsupported/enumerable.rb +2 -9
- data/spec/filters/unsupported/enumerator.rb +2 -11
- data/spec/filters/unsupported/file.rb +1 -1
- data/spec/filters/unsupported/float.rb +28 -47
- data/spec/filters/unsupported/hash.rb +8 -14
- data/spec/filters/unsupported/integer.rb +75 -91
- data/spec/filters/unsupported/kernel.rb +17 -35
- data/spec/filters/unsupported/language.rb +11 -19
- data/spec/filters/unsupported/marshal.rb +22 -41
- data/spec/filters/unsupported/matchdata.rb +28 -52
- data/spec/filters/unsupported/math.rb +1 -1
- data/spec/filters/unsupported/privacy.rb +229 -285
- data/spec/filters/unsupported/range.rb +1 -5
- data/spec/filters/unsupported/regexp.rb +40 -66
- data/spec/filters/unsupported/set.rb +2 -2
- data/spec/filters/unsupported/singleton.rb +4 -4
- data/spec/filters/unsupported/string.rb +305 -508
- data/spec/filters/unsupported/struct.rb +3 -4
- data/spec/filters/unsupported/symbol.rb +15 -18
- data/spec/filters/unsupported/thread.rb +1 -7
- data/spec/filters/unsupported/time.rb +159 -202
- data/spec/filters/unsupported/usage_of_files.rb +170 -259
- data/spec/lib/builder_spec.rb +4 -4
- data/spec/lib/rewriters/forward_args_spec.rb +32 -12
- data/spec/mspec-opal/runner.rb +2 -0
- data/spec/ruby_specs +4 -0
- data/stdlib/deno/base.rb +28 -0
- data/stdlib/deno/file.rb +340 -0
- data/stdlib/{headless_chrome.rb → headless_browser/base.rb} +1 -1
- data/stdlib/headless_browser/file.rb +15 -0
- data/stdlib/headless_browser.rb +4 -0
- data/stdlib/native.rb +1 -1
- data/stdlib/nodejs/file.rb +5 -0
- data/stdlib/opal/platform.rb +8 -6
- data/stdlib/opal-platform.rb +14 -8
- data/stdlib/set.rb +1 -258
- data/tasks/benchmarking.rake +62 -19
- data/tasks/performance.rake +1 -1
- data/tasks/testing.rake +5 -3
- data/test/nodejs/test_file.rb +29 -10
- data/test/opal/http_server.rb +28 -11
- data/test/opal/unsupported_and_bugs.rb +2 -1
- metadata +89 -50
- data/lib/opal/cli_runners/node_modules/ultron/LICENSE +0 -22
- data/lib/opal/cli_runners/node_modules/ultron/index.js +0 -138
- data/lib/opal/cli_runners/node_modules/ultron/package.json +0 -112
- data/lib/opal/cli_runners/node_modules/ws/SECURITY.md +0 -33
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.fallback.js +0 -56
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.js +0 -15
- data/lib/opal/cli_runners/node_modules/ws/lib/ErrorCodes.js +0 -28
- data/lib/opal/cli_runners/node_modules/ws/lib/EventTarget.js +0 -158
- data/lib/opal/cli_runners/node_modules/ws/lib/Extensions.js +0 -69
- data/lib/opal/cli_runners/node_modules/ws/lib/PerMessageDeflate.js +0 -339
- data/lib/opal/cli_runners/node_modules/ws/lib/Receiver.js +0 -520
- data/lib/opal/cli_runners/node_modules/ws/lib/Sender.js +0 -438
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.fallback.js +0 -9
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.js +0 -17
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocket.js +0 -705
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocketServer.js +0 -336
- data/spec/filters/bugs/boolean.rb +0 -3
- data/spec/filters/bugs/matrix.rb +0 -3
- data/spec/filters/unsupported/fixnum.rb +0 -15
- data/spec/filters/unsupported/freeze.rb +0 -102
- data/spec/filters/unsupported/pathname.rb +0 -4
- data/spec/filters/unsupported/proc.rb +0 -4
- data/spec/filters/unsupported/random.rb +0 -5
- data/spec/filters/unsupported/taint.rb +0 -162
@@ -1,262 +1,173 @@
|
|
1
1
|
# NOTE: run bin/format-filters after changing this file
|
2
2
|
opal_filter "Specs that use temporary files" do
|
3
|
-
fails "A Symbol literal inherits the encoding of the magic comment and can have a binary encoding"
|
4
|
-
fails "Kernel.printf formatting io is not specified
|
5
|
-
fails "Kernel.printf formatting io is not specified
|
6
|
-
fails "Kernel.printf formatting io is not specified
|
7
|
-
fails "Kernel.printf formatting io is not specified flags #
|
8
|
-
fails "Kernel.printf formatting io is not specified flags
|
9
|
-
fails "Kernel.printf formatting io is not specified flags
|
10
|
-
fails "Kernel.printf formatting io is not specified flags
|
11
|
-
fails "Kernel.printf formatting io is not specified flags #
|
12
|
-
fails "Kernel.printf formatting io is not specified flags
|
13
|
-
fails "Kernel.printf formatting io is not specified flags
|
14
|
-
fails "Kernel.printf formatting io is not specified flags
|
15
|
-
fails "Kernel.printf formatting io is not specified flags (
|
16
|
-
fails "Kernel.printf formatting io is not specified flags
|
17
|
-
fails "Kernel.printf formatting io is not specified flags
|
18
|
-
fails "Kernel.printf formatting io is not specified flags
|
19
|
-
fails "Kernel.printf formatting io is not specified
|
20
|
-
fails "Kernel.printf formatting io is not specified
|
21
|
-
fails "Kernel.printf formatting io is not specified
|
22
|
-
fails "Kernel.printf formatting io is not specified
|
23
|
-
fails "Kernel.printf formatting io is not specified
|
24
|
-
fails "Kernel.printf formatting io is not specified
|
25
|
-
fails "Kernel.printf formatting io is not specified
|
26
|
-
fails "Kernel.printf formatting io is not specified
|
27
|
-
fails "Kernel.printf formatting io is not specified
|
28
|
-
fails "Kernel.printf formatting io is not specified
|
29
|
-
fails "Kernel.printf formatting io is not specified
|
30
|
-
fails "Kernel.printf formatting io is not specified
|
31
|
-
fails "Kernel.printf formatting io is not specified
|
32
|
-
fails "Kernel.printf formatting io is not specified float formats
|
33
|
-
fails "Kernel.printf formatting io is not specified
|
34
|
-
fails "Kernel.printf formatting io is not specified
|
35
|
-
fails "Kernel.printf formatting io is not specified
|
36
|
-
fails "Kernel.printf formatting io is not specified
|
37
|
-
fails "Kernel.printf formatting io is not specified float
|
38
|
-
fails "Kernel.printf formatting io is not specified float
|
39
|
-
fails "Kernel.printf formatting io is not specified
|
40
|
-
fails "Kernel.printf formatting io is not specified
|
41
|
-
fails "Kernel.printf formatting io is
|
42
|
-
fails "Kernel.printf formatting io is
|
43
|
-
fails "Kernel.printf formatting io is
|
44
|
-
fails "Kernel.printf formatting io is
|
45
|
-
fails "Kernel.printf formatting io is
|
46
|
-
fails "Kernel.printf formatting io is
|
47
|
-
fails "Kernel.printf formatting io is
|
48
|
-
fails "Kernel.printf formatting io is
|
49
|
-
fails "Kernel.printf formatting io is
|
50
|
-
fails "Kernel.printf formatting io is not
|
51
|
-
fails "Kernel.printf formatting io is
|
52
|
-
fails "Kernel.printf formatting io is
|
53
|
-
fails "Kernel.printf formatting io is
|
54
|
-
fails "Kernel.printf formatting io is
|
55
|
-
fails "Kernel.printf formatting io is
|
56
|
-
fails "Kernel.printf formatting io is
|
57
|
-
fails "Kernel.printf formatting io is
|
58
|
-
fails "Kernel.printf formatting io is
|
59
|
-
fails "Kernel.printf formatting io is
|
60
|
-
fails "Kernel.printf formatting io is
|
61
|
-
fails "Kernel.printf formatting io is
|
62
|
-
fails "Kernel.printf formatting io is
|
63
|
-
fails "Kernel.printf formatting io is
|
64
|
-
fails "Kernel.printf formatting io is
|
65
|
-
fails "Kernel.printf formatting io is
|
66
|
-
fails "Kernel.printf formatting io is
|
67
|
-
fails "Kernel.printf formatting io is
|
68
|
-
fails "Kernel.printf formatting io is
|
69
|
-
fails "Kernel.printf formatting io is
|
70
|
-
fails "Kernel.printf formatting io is
|
71
|
-
fails "Kernel.printf formatting io is
|
72
|
-
fails "Kernel.printf formatting io is
|
73
|
-
fails "Kernel.printf formatting io is
|
74
|
-
fails "Kernel.printf formatting io is
|
75
|
-
fails "Kernel.printf formatting io is
|
76
|
-
fails "Kernel.printf formatting io is
|
77
|
-
fails "Kernel.printf formatting io is
|
78
|
-
fails "Kernel.printf formatting io is
|
79
|
-
fails "Kernel.printf formatting io is
|
80
|
-
fails "Kernel.printf formatting io is
|
81
|
-
fails "Kernel.printf formatting io is
|
82
|
-
fails "Kernel.printf formatting io is
|
83
|
-
fails "Kernel.printf formatting io is
|
84
|
-
fails "Kernel.printf formatting io is
|
85
|
-
fails "Kernel.printf formatting io is
|
86
|
-
fails "Kernel.printf formatting io is
|
87
|
-
fails "Kernel.printf formatting io is
|
88
|
-
fails "Kernel.printf formatting io is
|
89
|
-
fails "Kernel.printf formatting io is
|
90
|
-
fails "Kernel.printf formatting io is
|
91
|
-
fails "Kernel.printf formatting io is
|
92
|
-
fails "Kernel.printf formatting io is
|
93
|
-
fails "Kernel.printf formatting io is
|
94
|
-
fails "Kernel.printf formatting io is
|
95
|
-
fails "Kernel.printf formatting io is
|
96
|
-
fails "Kernel.printf formatting io is
|
97
|
-
fails "Kernel.printf formatting io is
|
98
|
-
fails "Kernel.printf formatting io is
|
99
|
-
fails "Kernel.printf formatting io is
|
100
|
-
fails "Kernel.printf formatting io is
|
101
|
-
fails "Kernel.printf formatting io is
|
102
|
-
fails "Kernel.printf formatting io is
|
103
|
-
fails "Kernel.printf formatting io is
|
104
|
-
fails "Kernel.printf formatting io is
|
105
|
-
fails "Kernel.printf formatting io is
|
106
|
-
fails "Kernel.printf formatting io is
|
107
|
-
fails "Kernel.printf formatting io is
|
108
|
-
fails "Kernel.printf formatting io is
|
109
|
-
fails "Kernel.printf formatting io is
|
110
|
-
fails "Kernel.printf formatting io is
|
111
|
-
fails "Kernel.printf formatting io is
|
112
|
-
fails "Kernel.printf formatting io is
|
113
|
-
fails "Kernel.printf formatting io is
|
114
|
-
fails "Kernel.printf formatting io is
|
115
|
-
fails "Kernel.printf formatting io is
|
116
|
-
fails "Kernel.printf formatting io is
|
117
|
-
fails "Kernel.printf formatting io is
|
118
|
-
fails "Kernel.printf formatting io is
|
119
|
-
fails "Kernel.printf formatting io is
|
120
|
-
fails "Kernel.printf formatting io is
|
121
|
-
fails "Kernel.printf formatting io is
|
122
|
-
fails "Kernel.printf formatting io is
|
123
|
-
fails "Kernel.printf formatting io is specified
|
124
|
-
fails "Kernel.printf formatting io is specified
|
125
|
-
fails "Kernel.printf formatting io is specified
|
126
|
-
fails "Kernel.printf formatting io is specified
|
127
|
-
fails "Kernel.printf formatting io is specified
|
128
|
-
fails "Kernel.printf formatting io is specified
|
129
|
-
fails "Kernel.printf formatting io is specified
|
130
|
-
fails "Kernel.printf formatting io is specified
|
131
|
-
fails "Kernel.printf formatting io is specified
|
132
|
-
fails "Kernel.printf formatting io is specified
|
133
|
-
fails "Kernel.printf formatting io is specified
|
134
|
-
fails "Kernel.printf formatting io is specified
|
135
|
-
fails "Kernel.printf formatting io is specified
|
136
|
-
fails "Kernel.printf formatting io is specified
|
137
|
-
fails "Kernel.printf formatting io is specified
|
138
|
-
fails "Kernel.printf formatting io is specified
|
139
|
-
fails "Kernel.printf formatting io is specified
|
140
|
-
fails "Kernel.printf formatting io is specified
|
141
|
-
fails "Kernel.printf formatting io is specified
|
142
|
-
fails "Kernel.printf formatting io is specified
|
143
|
-
fails "Kernel.printf formatting io is specified
|
144
|
-
fails "Kernel.printf formatting io is specified
|
145
|
-
fails "Kernel.printf formatting io is specified
|
146
|
-
fails "Kernel.printf formatting io is specified
|
147
|
-
fails "Kernel.printf formatting io is specified
|
148
|
-
fails "Kernel.printf formatting io is specified
|
149
|
-
fails "Kernel.printf formatting io is specified
|
150
|
-
fails "Kernel.printf formatting io is specified
|
151
|
-
fails "Kernel.printf formatting io is specified
|
152
|
-
fails "Kernel.printf formatting io is specified
|
153
|
-
fails "Kernel.printf formatting io is specified
|
154
|
-
fails "Kernel.printf formatting io is specified
|
155
|
-
fails "Kernel.printf formatting io is specified
|
156
|
-
fails "Kernel.printf formatting io is specified
|
157
|
-
fails "Kernel.printf formatting io is specified
|
158
|
-
fails "Kernel.printf formatting io is specified
|
159
|
-
fails "
|
160
|
-
fails "
|
161
|
-
fails "
|
162
|
-
fails "
|
163
|
-
fails "
|
164
|
-
fails "
|
165
|
-
fails "
|
166
|
-
fails "
|
167
|
-
fails "
|
168
|
-
fails "
|
169
|
-
fails "
|
170
|
-
fails "
|
171
|
-
fails "
|
172
|
-
fails "
|
173
|
-
fails "Kernel.printf formatting io is specified float formats e displays Float::INFINITY as Inf"
|
174
|
-
fails "Kernel.printf formatting io is specified float formats e displays Float::NAN as NaN"
|
175
|
-
fails "Kernel.printf formatting io is specified float formats e rounds the last significant digit to the closest one"
|
176
|
-
fails "Kernel.printf formatting io is specified float formats f converts floating point argument as [-]ddd.dddddd"
|
177
|
-
fails "Kernel.printf formatting io is specified float formats f cuts excessive digits and keeps only 6 ones"
|
178
|
-
fails "Kernel.printf formatting io is specified float formats f displays Float::INFINITY as Inf"
|
179
|
-
fails "Kernel.printf formatting io is specified float formats f displays Float::NAN as NaN"
|
180
|
-
fails "Kernel.printf formatting io is specified float formats f rounds the last significant digit to the closest one"
|
181
|
-
fails "Kernel.printf formatting io is specified float formats g displays Float::INFINITY as Inf"
|
182
|
-
fails "Kernel.printf formatting io is specified float formats g displays Float::NAN as NaN"
|
183
|
-
fails "Kernel.printf formatting io is specified float formats g otherwise converts a floating point number in dd.dddd form"
|
184
|
-
fails "Kernel.printf formatting io is specified float formats g otherwise cuts excessive digits in fractional part and keeps only 4 ones"
|
185
|
-
fails "Kernel.printf formatting io is specified float formats g otherwise cuts fraction part to have only 6 digits at all"
|
186
|
-
fails "Kernel.printf formatting io is specified float formats g otherwise rounds the last significant digit to the closest one in fractional part"
|
187
|
-
fails "Kernel.printf formatting io is specified float formats g the exponent is greater than or equal to the precision (6 by default) converts a floating point number using exponential form"
|
188
|
-
fails "Kernel.printf formatting io is specified float formats g the exponent is less than -4 converts a floating point number using exponential form"
|
189
|
-
fails "Kernel.printf formatting io is specified float formats raises TypeError exception if cannot convert to Float"
|
190
|
-
fails "Kernel.printf formatting io is specified integer formats B collapse negative number representation if it equals 1"
|
191
|
-
fails "Kernel.printf formatting io is specified integer formats B converts argument as a binary number"
|
192
|
-
fails "Kernel.printf formatting io is specified integer formats B displays negative number as a two's complement prefixed with '..1'"
|
193
|
-
fails "Kernel.printf formatting io is specified integer formats X collapse negative number representation if it equals F"
|
194
|
-
fails "Kernel.printf formatting io is specified integer formats X converts argument as a hexadecimal number with uppercase letters"
|
195
|
-
fails "Kernel.printf formatting io is specified integer formats X displays negative number as a two's complement prefixed with '..f'"
|
196
|
-
fails "Kernel.printf formatting io is specified integer formats b collapse negative number representation if it equals 1"
|
197
|
-
fails "Kernel.printf formatting io is specified integer formats b converts argument as a binary number"
|
198
|
-
fails "Kernel.printf formatting io is specified integer formats b displays negative number as a two's complement prefixed with '..1'"
|
199
|
-
fails "Kernel.printf formatting io is specified integer formats converts String argument with Kernel#Integer"
|
200
|
-
fails "Kernel.printf formatting io is specified integer formats converts argument into Integer with to_i if to_int isn't available"
|
201
|
-
fails "Kernel.printf formatting io is specified integer formats converts argument into Integer with to_int"
|
202
|
-
fails "Kernel.printf formatting io is specified integer formats d converts argument as a decimal number"
|
203
|
-
fails "Kernel.printf formatting io is specified integer formats d works well with large numbers"
|
204
|
-
fails "Kernel.printf formatting io is specified integer formats i converts argument as a decimal number"
|
205
|
-
fails "Kernel.printf formatting io is specified integer formats i works well with large numbers"
|
206
|
-
fails "Kernel.printf formatting io is specified integer formats o collapse negative number representation if it equals 7"
|
207
|
-
fails "Kernel.printf formatting io is specified integer formats o converts argument as an octal number"
|
208
|
-
fails "Kernel.printf formatting io is specified integer formats o displays negative number as a two's complement prefixed with '..7'"
|
209
|
-
fails "Kernel.printf formatting io is specified integer formats raises TypeError exception if cannot convert to Integer"
|
210
|
-
fails "Kernel.printf formatting io is specified integer formats u converts argument as a decimal number"
|
211
|
-
fails "Kernel.printf formatting io is specified integer formats u works well with large numbers"
|
212
|
-
fails "Kernel.printf formatting io is specified integer formats x collapse negative number representation if it equals f"
|
213
|
-
fails "Kernel.printf formatting io is specified integer formats x converts argument as a hexadecimal number"
|
214
|
-
fails "Kernel.printf formatting io is specified integer formats x displays negative number as a two's complement prefixed with '..f'"
|
215
|
-
fails "Kernel.printf formatting io is specified other formats % alone raises an ArgumentError"
|
216
|
-
fails "Kernel.printf formatting io is specified other formats % is escaped by %"
|
217
|
-
fails "Kernel.printf formatting io is specified other formats c displays character if argument is a numeric code of character"
|
218
|
-
fails "Kernel.printf formatting io is specified other formats c displays character if argument is a single character string"
|
219
|
-
fails "Kernel.printf formatting io is specified other formats c raises ArgumentError if argument is a string of several characters"
|
220
|
-
fails "Kernel.printf formatting io is specified other formats c raises ArgumentError if argument is an empty string"
|
221
|
-
fails "Kernel.printf formatting io is specified other formats c supports Unicode characters"
|
222
|
-
fails "Kernel.printf formatting io is specified other formats p displays argument.inspect value"
|
223
|
-
fails "Kernel.printf formatting io is specified other formats s converts argument to string with to_s"
|
224
|
-
fails "Kernel.printf formatting io is specified other formats s does not try to convert with to_str"
|
225
|
-
fails "Kernel.printf formatting io is specified other formats s substitute argument passes as a string"
|
226
|
-
fails "Kernel.printf formatting io is specified precision float types controls the number of decimal places displayed in fraction part"
|
227
|
-
fails "Kernel.printf formatting io is specified precision float types does not affect G format"
|
228
|
-
fails "Kernel.printf formatting io is specified precision integer types controls the number of decimal places displayed"
|
229
|
-
fails "Kernel.printf formatting io is specified precision string formats determines the maximum number of characters to be copied from the string"
|
230
|
-
fails "Kernel.printf formatting io is specified reference by name %<name>s style allows to place name in any position"
|
231
|
-
fails "Kernel.printf formatting io is specified reference by name %<name>s style cannot be mixed with unnamed style"
|
232
|
-
fails "Kernel.printf formatting io is specified reference by name %<name>s style supports flags, width, precision and type"
|
233
|
-
fails "Kernel.printf formatting io is specified reference by name %<name>s style uses value passed in a hash argument"
|
234
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style cannot be mixed with unnamed style"
|
235
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style converts value to String with to_s"
|
236
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style does not support type style"
|
237
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style raises KeyError when there is no matching key"
|
238
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style supports flags, width and precision"
|
239
|
-
fails "Kernel.printf formatting io is specified reference by name %{name} style uses value passed in a hash argument"
|
240
|
-
fails "Kernel.printf formatting io is specified width is ignored if argument's actual length is greater"
|
241
|
-
fails "Kernel.printf formatting io is specified width specifies the minimum number of characters that will be written to the result"
|
242
|
-
fails "Struct.new keyword_init: false option behaves like it does without :keyword_init option"
|
243
|
-
fails "Struct.new keyword_init: true option creates a class that accepts keyword arguments to initialize"
|
244
|
-
fails "Struct.new keyword_init: true option new class instantiation accepts arguments as hash as well"
|
245
|
-
fails "Struct.new keyword_init: true option new class instantiation raises ArgumentError when passed a list of arguments"
|
246
|
-
fails "Struct.new keyword_init: true option new class instantiation raises ArgumentError when passed not declared keyword argument"
|
247
|
-
fails "The BEGIN keyword returns the top-level script's filename for __FILE__"
|
248
|
-
fails "The return keyword at top level file loading stops file loading and execution"
|
249
|
-
fails "The return keyword at top level file requiring stops file loading and execution"
|
250
|
-
fails "The return keyword at top level return with argument does not affect exit status"
|
251
|
-
fails "The return keyword at top level stops file execution"
|
252
|
-
fails "The return keyword at top level within a begin fires ensure block before returning while loads file"
|
253
|
-
fails "The return keyword at top level within a begin fires ensure block before returning"
|
254
|
-
fails "The return keyword at top level within a begin is allowed in begin block"
|
255
|
-
fails "The return keyword at top level within a begin is allowed in ensure block"
|
256
|
-
fails "The return keyword at top level within a begin is allowed in rescue block"
|
257
|
-
fails "The return keyword at top level within a begin swallows exception if returns in ensure block"
|
258
|
-
fails "The return keyword at top level within a block is allowed"
|
259
|
-
fails "The return keyword at top level within a class raises a SyntaxError"
|
260
|
-
fails "The return keyword at top level within if is allowed"
|
261
|
-
fails "The return keyword at top level within while loop is allowed"
|
3
|
+
fails "A Symbol literal inherits the encoding of the magic comment and can have a binary encoding" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x94928>
|
4
|
+
fails "Kernel.printf formatting io is not specified flags # applies to format o does nothing for negative argument" # Expected "0..7651" == "..7651" to be truthy but was false
|
5
|
+
fails "Kernel.printf formatting io is not specified flags # applies to formats aAeEfgG changes format from dd.dddd to exponential form for gG" # Expected "1.234e+02" == "1.e+02" to be truthy but was false
|
6
|
+
fails "Kernel.printf formatting io is not specified flags # applies to formats aAeEfgG forces a decimal point to be added, even if no digits follow" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
7
|
+
fails "Kernel.printf formatting io is not specified flags (digit)$ specifies the absolute argument number for this field" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
8
|
+
fails "Kernel.printf formatting io is not specified flags * left-justifies the result if specified with $ argument is negative" # Expected "1.095200e+2 " == "1.095200e+02 " to be truthy but was false
|
9
|
+
fails "Kernel.printf formatting io is not specified flags * left-justifies the result if width is negative" # Expected "1.095200e+2 " == "1.095200e+02 " to be truthy but was false
|
10
|
+
fails "Kernel.printf formatting io is not specified flags * raises ArgumentError when is mixed with width" # Expected ArgumentError but no exception was raised (" 112" was returned)
|
11
|
+
fails "Kernel.printf formatting io is not specified flags * uses the previous argument as the field width" # Expected " 1.095200e+02" == " 1.095200e+02" to be truthy but was false
|
12
|
+
fails "Kernel.printf formatting io is not specified flags * uses the specified argument as the width if * is followed by a number and $" # Expected " 1.095200e+02" == " 1.095200e+02" to be truthy but was false
|
13
|
+
fails "Kernel.printf formatting io is not specified flags + applies to numeric formats bBdiouxXaAeEfgG adds a leading plus sign to non-negative numbers" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
14
|
+
fails "Kernel.printf formatting io is not specified flags - left-justifies the result of conversion if width is specified" # Expected "1.095200e+2 " == "1.095200e+02 " to be truthy but was false
|
15
|
+
fails "Kernel.printf formatting io is not specified flags 0 (zero) applies to numeric formats bBdiouxXaAeEfgG and width is specified pads with zeros, not spaces" # Expected "0000000001.095200e+02" == "000000001.095200e+02" to be truthy but was false
|
16
|
+
fails "Kernel.printf formatting io is not specified flags space applies to numeric formats bBdiouxXeEfgGaA does not leave a space at the start of negative numbers" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
17
|
+
fails "Kernel.printf formatting io is not specified flags space applies to numeric formats bBdiouxXeEfgGaA leaves a space at the start of non-negative numbers" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
18
|
+
fails "Kernel.printf formatting io is not specified flags space applies to numeric formats bBdiouxXeEfgGaA treats several white spaces as one" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
19
|
+
fails "Kernel.printf formatting io is not specified float formats A converts floating point argument as [-]0xh.hhhhp[+-]dd and use uppercase X and P" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
20
|
+
fails "Kernel.printf formatting io is not specified float formats A displays Float::INFINITY as Inf" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
21
|
+
fails "Kernel.printf formatting io is not specified float formats A displays Float::NAN as NaN" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
22
|
+
fails "Kernel.printf formatting io is not specified float formats G otherwise cuts excessive digits in fractional part and keeps only 4 ones" # Expected "12.12341111" == "12.1234" to be truthy but was false
|
23
|
+
fails "Kernel.printf formatting io is not specified float formats G otherwise cuts fraction part to have only 6 digits at all" # Expected "1.1234567" == "1.12346" to be truthy but was false
|
24
|
+
fails "Kernel.printf formatting io is not specified float formats G otherwise rounds the last significant digit to the closest one in fractional part" # Expected "1.555555555" == "1.55556" to be truthy but was false
|
25
|
+
fails "Kernel.printf formatting io is not specified float formats G the exponent is greater than or equal to the precision (6 by default) converts a floating point number using exponential form" # Expected "1.234567E+06" == "1.23457E+06" to be truthy but was false
|
26
|
+
fails "Kernel.printf formatting io is not specified float formats a converts floating point argument as [-]0xh.hhhhp[+-]dd" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
27
|
+
fails "Kernel.printf formatting io is not specified float formats a displays Float::INFINITY as Inf" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
28
|
+
fails "Kernel.printf formatting io is not specified float formats a displays Float::NAN as NaN" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
29
|
+
fails "Kernel.printf formatting io is not specified float formats g otherwise cuts excessive digits in fractional part and keeps only 4 ones" # Expected "12.12341111" == "12.1234" to be truthy but was false
|
30
|
+
fails "Kernel.printf formatting io is not specified float formats g otherwise cuts fraction part to have only 6 digits at all" # Expected "1.1234567" == "1.12346" to be truthy but was false
|
31
|
+
fails "Kernel.printf formatting io is not specified float formats g otherwise rounds the last significant digit to the closest one in fractional part" # Expected "1.555555555" == "1.55556" to be truthy but was false
|
32
|
+
fails "Kernel.printf formatting io is not specified float formats g the exponent is greater than or equal to the precision (6 by default) converts a floating point number using exponential form" # Expected "1.234567e+06" == "1.23457e+06" to be truthy but was false
|
33
|
+
fails "Kernel.printf formatting io is not specified integer formats d works well with large numbers" # Expected "1234567890987654400" == "1234567890987654321" to be truthy but was false
|
34
|
+
fails "Kernel.printf formatting io is not specified integer formats i works well with large numbers" # Expected "1234567890987654400" == "1234567890987654321" to be truthy but was false
|
35
|
+
fails "Kernel.printf formatting io is not specified integer formats u works well with large numbers" # Expected "1234567890987654400" == "1234567890987654321" to be truthy but was false
|
36
|
+
fails "Kernel.printf formatting io is not specified other formats % alone raises an ArgumentError" # Expected ArgumentError but no exception was raised ("%" was returned)
|
37
|
+
fails "Kernel.printf formatting io is not specified precision float types controls the number of decimal places displayed in fraction part" # NotImplementedError: `A` and `a` format field types are not implemented in Opal yet
|
38
|
+
fails "Kernel.printf formatting io is not specified precision float types does not affect G format" # Expected "12.12340000" == "12.1234" to be truthy but was false
|
39
|
+
fails "Kernel.printf formatting io is not specified precision string formats determines the maximum number of characters to be copied from the string" # Expected "1" == "[" to be truthy but was false
|
40
|
+
fails "Kernel.printf formatting io is not specified width specifies the minimum number of characters that will be written to the result" # Expected " 1.095200e+02" == " 1.095200e+02" to be truthy but was false
|
41
|
+
fails "Kernel.printf formatting io is specified faulty key raises a KeyError" # Expected KeyError but got: Exception (format_string.indexOf is not a function)
|
42
|
+
fails "Kernel.printf formatting io is specified faulty key sets the Hash as the receiver of KeyError" # Expected KeyError but got: Exception (format_string.indexOf is not a function)
|
43
|
+
fails "Kernel.printf formatting io is specified faulty key sets the unmatched key as the key of KeyError" # Expected KeyError but got: Exception (format_string.indexOf is not a function)
|
44
|
+
fails "Kernel.printf formatting io is specified flags # applies to format o does nothing for negative argument" # Exception: format_string.indexOf is not a function
|
45
|
+
fails "Kernel.printf formatting io is specified flags # applies to format o increases the precision until the first digit will be `0' if it is not formatted as complements" # Exception: format_string.indexOf is not a function
|
46
|
+
fails "Kernel.printf formatting io is specified flags # applies to formats aAeEfgG changes format from dd.dddd to exponential form for gG" # Exception: format_string.indexOf is not a function
|
47
|
+
fails "Kernel.printf formatting io is specified flags # applies to formats aAeEfgG forces a decimal point to be added, even if no digits follow" # Exception: format_string.indexOf is not a function
|
48
|
+
fails "Kernel.printf formatting io is specified flags # applies to formats bBxX does nothing for zero argument" # Exception: format_string.indexOf is not a function
|
49
|
+
fails "Kernel.printf formatting io is specified flags # applies to formats bBxX prefixes the result with 0x, 0X, 0b and 0B respectively for non-zero argument" # Exception: format_string.indexOf is not a function
|
50
|
+
fails "Kernel.printf formatting io is specified flags # applies to gG does not remove trailing zeros" # Exception: format_string.indexOf is not a function
|
51
|
+
fails "Kernel.printf formatting io is specified flags (digit)$ ignores '-' sign" # Exception: format_string.indexOf is not a function
|
52
|
+
fails "Kernel.printf formatting io is specified flags (digit)$ raises ArgumentError exception when absolute and relative argument numbers are mixed" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
53
|
+
fails "Kernel.printf formatting io is specified flags (digit)$ raises exception if argument number is bigger than actual arguments list" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
54
|
+
fails "Kernel.printf formatting io is specified flags (digit)$ specifies the absolute argument number for this field" # Exception: format_string.indexOf is not a function
|
55
|
+
fails "Kernel.printf formatting io is specified flags * left-justifies the result if specified with $ argument is negative" # Exception: format_string.indexOf is not a function
|
56
|
+
fails "Kernel.printf formatting io is specified flags * left-justifies the result if width is negative" # Exception: format_string.indexOf is not a function
|
57
|
+
fails "Kernel.printf formatting io is specified flags * raises ArgumentError when is mixed with width" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
58
|
+
fails "Kernel.printf formatting io is specified flags * uses the previous argument as the field width" # Exception: format_string.indexOf is not a function
|
59
|
+
fails "Kernel.printf formatting io is specified flags * uses the specified argument as the width if * is followed by a number and $" # Exception: format_string.indexOf is not a function
|
60
|
+
fails "Kernel.printf formatting io is specified flags + applies to numeric formats bBdiouxXaAeEfgG adds a leading plus sign to non-negative numbers" # Exception: format_string.indexOf is not a function
|
61
|
+
fails "Kernel.printf formatting io is specified flags + applies to numeric formats bBdiouxXaAeEfgG does not use two's complement form for negative numbers for formats bBoxX" # Exception: format_string.indexOf is not a function
|
62
|
+
fails "Kernel.printf formatting io is specified flags - left-justifies the result of conversion if width is specified" # Exception: format_string.indexOf is not a function
|
63
|
+
fails "Kernel.printf formatting io is specified flags 0 (zero) applies to numeric formats bBdiouxXaAeEfgG and width is specified pads with zeros, not spaces" # Exception: format_string.indexOf is not a function
|
64
|
+
fails "Kernel.printf formatting io is specified flags 0 (zero) applies to numeric formats bBdiouxXaAeEfgG and width is specified uses radix-1 when displays negative argument as a two's complement" # Exception: format_string.indexOf is not a function
|
65
|
+
fails "Kernel.printf formatting io is specified flags space applies to numeric formats bBdiouxXeEfgGaA does not leave a space at the start of negative numbers" # Exception: format_string.indexOf is not a function
|
66
|
+
fails "Kernel.printf formatting io is specified flags space applies to numeric formats bBdiouxXeEfgGaA leaves a space at the start of non-negative numbers" # Exception: format_string.indexOf is not a function
|
67
|
+
fails "Kernel.printf formatting io is specified flags space applies to numeric formats bBdiouxXeEfgGaA prevents converting negative argument to two's complement form" # Exception: format_string.indexOf is not a function
|
68
|
+
fails "Kernel.printf formatting io is specified flags space applies to numeric formats bBdiouxXeEfgGaA treats several white spaces as one" # Exception: format_string.indexOf is not a function
|
69
|
+
fails "Kernel.printf formatting io is specified float formats A converts floating point argument as [-]0xh.hhhhp[+-]dd and use uppercase X and P" # Exception: format_string.indexOf is not a function
|
70
|
+
fails "Kernel.printf formatting io is specified float formats A displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
71
|
+
fails "Kernel.printf formatting io is specified float formats A displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
72
|
+
fails "Kernel.printf formatting io is specified float formats E converts argument into exponential notation [-]d.dddddde[+-]dd" # Exception: format_string.indexOf is not a function
|
73
|
+
fails "Kernel.printf formatting io is specified float formats E cuts excessive digits and keeps only 6 ones" # Exception: format_string.indexOf is not a function
|
74
|
+
fails "Kernel.printf formatting io is specified float formats E displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
75
|
+
fails "Kernel.printf formatting io is specified float formats E displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
76
|
+
fails "Kernel.printf formatting io is specified float formats E rounds the last significant digit to the closest one" # Exception: format_string.indexOf is not a function
|
77
|
+
fails "Kernel.printf formatting io is specified float formats G displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
78
|
+
fails "Kernel.printf formatting io is specified float formats G displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
79
|
+
fails "Kernel.printf formatting io is specified float formats G otherwise converts a floating point number in dd.dddd form" # Exception: format_string.indexOf is not a function
|
80
|
+
fails "Kernel.printf formatting io is specified float formats G otherwise cuts excessive digits in fractional part and keeps only 4 ones" # Exception: format_string.indexOf is not a function
|
81
|
+
fails "Kernel.printf formatting io is specified float formats G otherwise cuts fraction part to have only 6 digits at all" # Exception: format_string.indexOf is not a function
|
82
|
+
fails "Kernel.printf formatting io is specified float formats G otherwise rounds the last significant digit to the closest one in fractional part" # Exception: format_string.indexOf is not a function
|
83
|
+
fails "Kernel.printf formatting io is specified float formats G the exponent is greater than or equal to the precision (6 by default) converts a floating point number using exponential form" # Exception: format_string.indexOf is not a function
|
84
|
+
fails "Kernel.printf formatting io is specified float formats G the exponent is less than -4 converts a floating point number using exponential form" # Exception: format_string.indexOf is not a function
|
85
|
+
fails "Kernel.printf formatting io is specified float formats a converts floating point argument as [-]0xh.hhhhp[+-]dd" # Exception: format_string.indexOf is not a function
|
86
|
+
fails "Kernel.printf formatting io is specified float formats a displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
87
|
+
fails "Kernel.printf formatting io is specified float formats a displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
88
|
+
fails "Kernel.printf formatting io is specified float formats converts argument into Float" # Exception: format_string.indexOf is not a function
|
89
|
+
fails "Kernel.printf formatting io is specified float formats e converts argument into exponential notation [-]d.dddddde[+-]dd" # Exception: format_string.indexOf is not a function
|
90
|
+
fails "Kernel.printf formatting io is specified float formats e cuts excessive digits and keeps only 6 ones" # Exception: format_string.indexOf is not a function
|
91
|
+
fails "Kernel.printf formatting io is specified float formats e displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
92
|
+
fails "Kernel.printf formatting io is specified float formats e displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
93
|
+
fails "Kernel.printf formatting io is specified float formats e rounds the last significant digit to the closest one" # Exception: format_string.indexOf is not a function
|
94
|
+
fails "Kernel.printf formatting io is specified float formats f converts floating point argument as [-]ddd.dddddd" # Exception: format_string.indexOf is not a function
|
95
|
+
fails "Kernel.printf formatting io is specified float formats f cuts excessive digits and keeps only 6 ones" # Exception: format_string.indexOf is not a function
|
96
|
+
fails "Kernel.printf formatting io is specified float formats f displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
97
|
+
fails "Kernel.printf formatting io is specified float formats f displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
98
|
+
fails "Kernel.printf formatting io is specified float formats f rounds the last significant digit to the closest one" # Exception: format_string.indexOf is not a function
|
99
|
+
fails "Kernel.printf formatting io is specified float formats g displays Float::INFINITY as Inf" # Exception: format_string.indexOf is not a function
|
100
|
+
fails "Kernel.printf formatting io is specified float formats g displays Float::NAN as NaN" # Exception: format_string.indexOf is not a function
|
101
|
+
fails "Kernel.printf formatting io is specified float formats g otherwise converts a floating point number in dd.dddd form" # Exception: format_string.indexOf is not a function
|
102
|
+
fails "Kernel.printf formatting io is specified float formats g otherwise cuts excessive digits in fractional part and keeps only 4 ones" # Exception: format_string.indexOf is not a function
|
103
|
+
fails "Kernel.printf formatting io is specified float formats g otherwise cuts fraction part to have only 6 digits at all" # Exception: format_string.indexOf is not a function
|
104
|
+
fails "Kernel.printf formatting io is specified float formats g otherwise rounds the last significant digit to the closest one in fractional part" # Exception: format_string.indexOf is not a function
|
105
|
+
fails "Kernel.printf formatting io is specified float formats g the exponent is greater than or equal to the precision (6 by default) converts a floating point number using exponential form" # Exception: format_string.indexOf is not a function
|
106
|
+
fails "Kernel.printf formatting io is specified float formats g the exponent is less than -4 converts a floating point number using exponential form" # Exception: format_string.indexOf is not a function
|
107
|
+
fails "Kernel.printf formatting io is specified float formats raises TypeError exception if cannot convert to Float" # Expected TypeError but got: Exception (format_string.indexOf is not a function)
|
108
|
+
fails "Kernel.printf formatting io is specified integer formats B collapse negative number representation if it equals 1" # Exception: format_string.indexOf is not a function
|
109
|
+
fails "Kernel.printf formatting io is specified integer formats B converts argument as a binary number" # Exception: format_string.indexOf is not a function
|
110
|
+
fails "Kernel.printf formatting io is specified integer formats B displays negative number as a two's complement prefixed with '..1'" # Exception: format_string.indexOf is not a function
|
111
|
+
fails "Kernel.printf formatting io is specified integer formats X collapse negative number representation if it equals F" # Exception: format_string.indexOf is not a function
|
112
|
+
fails "Kernel.printf formatting io is specified integer formats X converts argument as a hexadecimal number with uppercase letters" # Exception: format_string.indexOf is not a function
|
113
|
+
fails "Kernel.printf formatting io is specified integer formats X displays negative number as a two's complement prefixed with '..f'" # Exception: format_string.indexOf is not a function
|
114
|
+
fails "Kernel.printf formatting io is specified integer formats b collapse negative number representation if it equals 1" # Exception: format_string.indexOf is not a function
|
115
|
+
fails "Kernel.printf formatting io is specified integer formats b converts argument as a binary number" # Exception: format_string.indexOf is not a function
|
116
|
+
fails "Kernel.printf formatting io is specified integer formats b displays negative number as a two's complement prefixed with '..1'" # Exception: format_string.indexOf is not a function
|
117
|
+
fails "Kernel.printf formatting io is specified integer formats converts String argument with Kernel#Integer" # Exception: format_string.indexOf is not a function
|
118
|
+
fails "Kernel.printf formatting io is specified integer formats converts argument into Integer with to_i if to_int isn't available" # Exception: format_string.indexOf is not a function
|
119
|
+
fails "Kernel.printf formatting io is specified integer formats converts argument into Integer with to_int" # Exception: format_string.indexOf is not a function
|
120
|
+
fails "Kernel.printf formatting io is specified integer formats d converts argument as a decimal number" # Exception: format_string.indexOf is not a function
|
121
|
+
fails "Kernel.printf formatting io is specified integer formats d works well with large numbers" # Exception: format_string.indexOf is not a function
|
122
|
+
fails "Kernel.printf formatting io is specified integer formats i converts argument as a decimal number" # Exception: format_string.indexOf is not a function
|
123
|
+
fails "Kernel.printf formatting io is specified integer formats i works well with large numbers" # Exception: format_string.indexOf is not a function
|
124
|
+
fails "Kernel.printf formatting io is specified integer formats o collapse negative number representation if it equals 7" # Exception: format_string.indexOf is not a function
|
125
|
+
fails "Kernel.printf formatting io is specified integer formats o converts argument as an octal number" # Exception: format_string.indexOf is not a function
|
126
|
+
fails "Kernel.printf formatting io is specified integer formats o displays negative number as a two's complement prefixed with '..7'" # Exception: format_string.indexOf is not a function
|
127
|
+
fails "Kernel.printf formatting io is specified integer formats raises TypeError exception if cannot convert to Integer" # Expected TypeError but got: Exception (format_string.indexOf is not a function)
|
128
|
+
fails "Kernel.printf formatting io is specified integer formats u converts argument as a decimal number" # Exception: format_string.indexOf is not a function
|
129
|
+
fails "Kernel.printf formatting io is specified integer formats u works well with large numbers" # Exception: format_string.indexOf is not a function
|
130
|
+
fails "Kernel.printf formatting io is specified integer formats x collapse negative number representation if it equals f" # Exception: format_string.indexOf is not a function
|
131
|
+
fails "Kernel.printf formatting io is specified integer formats x converts argument as a hexadecimal number" # Exception: format_string.indexOf is not a function
|
132
|
+
fails "Kernel.printf formatting io is specified integer formats x displays negative number as a two's complement prefixed with '..f'" # Exception: format_string.indexOf is not a function
|
133
|
+
fails "Kernel.printf formatting io is specified other formats % alone raises an ArgumentError" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
134
|
+
fails "Kernel.printf formatting io is specified other formats % is escaped by %" # Exception: format_string.indexOf is not a function
|
135
|
+
fails "Kernel.printf formatting io is specified other formats c displays character if argument is a numeric code of character" # Exception: format_string.indexOf is not a function
|
136
|
+
fails "Kernel.printf formatting io is specified other formats c displays character if argument is a single character string" # Exception: format_string.indexOf is not a function
|
137
|
+
fails "Kernel.printf formatting io is specified other formats c raises ArgumentError if argument is a string of several characters" # Expected ArgumentError (/%c requires a character/) but got: Exception (format_string.indexOf is not a function)
|
138
|
+
fails "Kernel.printf formatting io is specified other formats c raises ArgumentError if argument is an empty string" # Expected ArgumentError (/%c requires a character/) but got: Exception (format_string.indexOf is not a function)
|
139
|
+
fails "Kernel.printf formatting io is specified other formats p displays argument.inspect value" # Exception: format_string.indexOf is not a function
|
140
|
+
fails "Kernel.printf formatting io is specified other formats s converts argument to string with to_s" # Exception: format_string.indexOf is not a function
|
141
|
+
fails "Kernel.printf formatting io is specified other formats s does not try to convert with to_str" # Expected NoMethodError but got: Exception (format_string.indexOf is not a function)
|
142
|
+
fails "Kernel.printf formatting io is specified other formats s substitute argument passes as a string" # Exception: format_string.indexOf is not a function
|
143
|
+
fails "Kernel.printf formatting io is specified precision float types controls the number of decimal places displayed in fraction part" # Exception: format_string.indexOf is not a function
|
144
|
+
fails "Kernel.printf formatting io is specified precision float types does not affect G format" # Exception: format_string.indexOf is not a function
|
145
|
+
fails "Kernel.printf formatting io is specified precision integer types controls the number of decimal places displayed" # Exception: format_string.indexOf is not a function
|
146
|
+
fails "Kernel.printf formatting io is specified precision string formats determines the maximum number of characters to be copied from the string" # Exception: format_string.indexOf is not a function
|
147
|
+
fails "Kernel.printf formatting io is specified reference by name %<name>s style allows to place name in any position" # Exception: format_string.indexOf is not a function
|
148
|
+
fails "Kernel.printf formatting io is specified reference by name %<name>s style cannot be mixed with unnamed style" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
149
|
+
fails "Kernel.printf formatting io is specified reference by name %<name>s style supports flags, width, precision and type" # Exception: format_string.indexOf is not a function
|
150
|
+
fails "Kernel.printf formatting io is specified reference by name %<name>s style uses value passed in a hash argument" # Exception: format_string.indexOf is not a function
|
151
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style cannot be mixed with unnamed style" # Expected ArgumentError but got: Exception (format_string.indexOf is not a function)
|
152
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style converts value to String with to_s" # Exception: format_string.indexOf is not a function
|
153
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style does not support type style" # Exception: format_string.indexOf is not a function
|
154
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style raises KeyError when there is no matching key" # Expected KeyError but got: Exception (format_string.indexOf is not a function)
|
155
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style supports flags, width and precision" # Exception: format_string.indexOf is not a function
|
156
|
+
fails "Kernel.printf formatting io is specified reference by name %{name} style uses value passed in a hash argument" # Exception: format_string.indexOf is not a function
|
157
|
+
fails "Kernel.printf formatting io is specified width is ignored if argument's actual length is greater" # Exception: format_string.indexOf is not a function
|
158
|
+
fails "Kernel.printf formatting io is specified width specifies the minimum number of characters that will be written to the result" # Exception: format_string.indexOf is not a function
|
159
|
+
fails "The BEGIN keyword returns the top-level script's filename for __FILE__" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0xab0bc>
|
160
|
+
fails "The return keyword at top level file loading stops file loading and execution" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
161
|
+
fails "The return keyword at top level file requiring stops file loading and execution" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
162
|
+
fails "The return keyword at top level stops file execution" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8>
|
163
|
+
fails "The return keyword at top level within a begin fires ensure block before returning while loads file" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
164
|
+
fails "The return keyword at top level within a begin fires ensure block before returning" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
165
|
+
fails "The return keyword at top level within a begin is allowed in begin block" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
166
|
+
fails "The return keyword at top level within a begin is allowed in ensure block" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
167
|
+
fails "The return keyword at top level within a begin is allowed in rescue block" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
168
|
+
fails "The return keyword at top level within a begin swallows exception if returns in ensure block" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
169
|
+
fails "The return keyword at top level within a block is allowed" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
170
|
+
fails "The return keyword at top level within a class raises a SyntaxError" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
171
|
+
fails "The return keyword at top level within if is allowed" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
172
|
+
fails "The return keyword at top level within while loop is allowed" # NoMethodError: undefined method `tmp' for #<MSpecEnv:0x6bbf8 @filename=nil>
|
262
173
|
end
|