test-unit-ruby-core 1.0.11 → 1.0.12
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/lib/core_assertions.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b51defeffab8a8111b63992bba7cbfc691dd8c81e76bf6138420f474843ff90
|
|
4
|
+
data.tar.gz: 0f496d18c7a8c60d193b6cb9cb0f417370175deed875438de07f8768d44ead5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf2c70e298e5ea94ee95bb0982e9e2f4ecae515995e98be08c72568e55576e0c0e1654593c414544030b632d087de80b47c7892e964c9e0f636d24447369a7b5
|
|
7
|
+
data.tar.gz: 13897b2f3a02a3628945c07f51894358ecacd6e33ed892a38cb2fbbed7ed9aadd7d1b2dbfafa8a36bbf2ff85aa72b1e6f29601b09d798c0246c9fce0bee92e61
|
data/lib/core_assertions.rb
CHANGED
|
@@ -328,6 +328,8 @@ eom
|
|
|
328
328
|
args = args.dup
|
|
329
329
|
args.insert((Hash === args.first ? 1 : 0), "-w", "--disable=gems", *$:.map {|l| "-I#{l}"})
|
|
330
330
|
args << "--debug" if RUBY_ENGINE == 'jruby' # warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
|
|
331
|
+
# power_assert 3 requires ruby 3.1 or later
|
|
332
|
+
args << "-W:no-experimental" if RUBY_VERSION < "3.1."
|
|
331
333
|
stdout, stderr, status = EnvUtil.invoke_ruby(args, src, capture_stdout, true, **opt)
|
|
332
334
|
ensure
|
|
333
335
|
if res_c
|