Skip to content

Commit 7a6b52d

Browse files
committed
Fix typo
1 parent 7885416 commit 7a6b52d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/dynflow/delayed_plan.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def timeout
3333

3434
def failed_dependencies(uuids)
3535
bullets = uuids.map { |u| "- #{u}" }.join("\n")
36-
msg = "Execution plan could not be started because some of its preqrequisite execution plans failed:\n#{bullets}"
36+
msg = "Execution plan could not be started because some of its prerequisite execution plans failed:\n#{bullets}"
3737
error(msg, 'failed-dependency')
3838
end
3939

test/future_execution_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ module FutureExecutionTest
271271
plan2 = world.persistence.load_execution_plan(plan2.execution_plan_id)
272272
_(plan2.state).must_equal :stopped
273273
_(plan2.result).must_equal :error
274-
_(plan2.errors.first.message).must_match(/preqrequisite execution plans failed/)
274+
_(plan2.errors.first.message).must_match(/prerequisite execution plans failed/)
275275
_(plan2.errors.first.message).must_match(/#{plan1.id}/)
276276
end
277277

@@ -315,7 +315,7 @@ module FutureExecutionTest
315315
plan3 = world.persistence.load_execution_plan(plan3.execution_plan_id)
316316
_(plan3.state).must_equal :stopped
317317
_(plan3.result).must_equal :error
318-
_(plan3.errors.first.message).must_match(/preqrequisite execution plans failed/)
318+
_(plan3.errors.first.message).must_match(/prerequisite execution plans failed/)
319319
_(plan3.errors.first.message).must_match(/#{plan2.id}/)
320320
end
321321
end

0 commit comments

Comments
 (0)