summaryrefslogtreecommitdiff
path: root/test/fiddle/test_memory_view.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-10 19:14:40 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-10 19:14:40 +0900
commitd172f8ac099a3850a3aed6136e50c59d5a81b11f (patch)
tree1c67e8f26aadafb2c7115b6c3d87d9b965698760 /test/fiddle/test_memory_view.rb
parentcb3eb3d7d516a12957939491f3c3cc663c1a9240 (diff)
Skip fiddle tests if fiddle is not avaiable
Diffstat (limited to 'test/fiddle/test_memory_view.rb')
-rw-r--r--test/fiddle/test_memory_view.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fiddle/test_memory_view.rb b/test/fiddle/test_memory_view.rb
index c673d2633a..ffea8a9e59 100644
--- a/test/fiddle/test_memory_view.rb
+++ b/test/fiddle/test_memory_view.rb
@@ -2,11 +2,13 @@
begin
require_relative 'helper'
rescue LoadError
+ return
end
begin
require '-test-/memory_view'
rescue LoadError
+ return
end
module Fiddle