summaryrefslogtreecommitdiff
path: root/spec/rubyspec/fixtures/code/concurrent.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/fixtures/code/concurrent.rb')
-rw-r--r--spec/rubyspec/fixtures/code/concurrent.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/rubyspec/fixtures/code/concurrent.rb b/spec/rubyspec/fixtures/code/concurrent.rb
deleted file mode 100644
index 054b8fc055..0000000000
--- a/spec/rubyspec/fixtures/code/concurrent.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-ScratchPad.recorded << :con_pre
-Thread.current[:in_concurrent_rb] = true
-
-if t = Thread.current[:wait_for]
- Thread.pass until t.backtrace && t.backtrace.any? { |call| call.include? 'require' }
-end
-
-if Thread.current[:con_raise]
- raise "con1"
-end
-
-ScratchPad.recorded << :con_post