diff --git a/test/scientist/experiment_test.rb b/test/scientist/experiment_test.rb
index <HASH>..<HASH> 100644
--- a/test/scientist/experiment_test.rb
+++ b/test/scientist/experiment_test.rb
@@ -448,11 +448,13 @@ describe Scientist::Experiment do
       Fake.raise_on_mismatches = true
       @ex.use { "control" }
       @ex.try { "candidate" }
-      runner = -> do
-        @ex.run
-      rescue
-        # StandardError handled
-      end
+      runner = -> {
+        begin
+          @ex.run
+        rescue
+          # StandardError handled
+        end
+      }
       assert_raises(Scientist::Experiment::MismatchError) { runner.call }
     end
Fix begin/rescue syntax for older rubies