Formatting

This commit is contained in:
Michael Miller 2019-01-25 11:09:11 -07:00
parent e33ce5c182
commit 6a91b3e399

View file

@ -388,7 +388,7 @@ describe Spectator::RunnableExample do
called = false called = false
conditions = new_conditions(pre: [ conditions = new_conditions(pre: [
->{ report_expectations(0, 1) }, ->{ report_expectations(0, 1) },
->{ called = true; nil } ->{ called = true; nil },
]) ])
run_example(PassingExample, conditions: conditions) run_example(PassingExample, conditions: conditions)
called.should be_false called.should be_false
@ -466,7 +466,7 @@ describe Spectator::RunnableExample do
called = false called = false
conditions = new_conditions(post: [ conditions = new_conditions(post: [
->{ report_expectations(0, 1) }, ->{ report_expectations(0, 1) },
->{ called = true; nil } ->{ called = true; nil },
]) ])
run_example(PassingExample, conditions: conditions) run_example(PassingExample, conditions: conditions)
called.should be_false called.should be_false
@ -789,7 +789,7 @@ describe Spectator::RunnableExample do
called = false called = false
conditions = new_conditions(pre: [ conditions = new_conditions(pre: [
->{ report_expectations(0, 1) }, ->{ report_expectations(0, 1) },
->{ called = true; nil } ->{ called = true; nil },
]) ])
run_example(FailingExample, conditions: conditions) run_example(FailingExample, conditions: conditions)
called.should be_false called.should be_false
@ -1152,7 +1152,7 @@ describe Spectator::RunnableExample do
called = false called = false
conditions = new_conditions(pre: [ conditions = new_conditions(pre: [
->{ report_expectations(0, 1) }, ->{ report_expectations(0, 1) },
->{ called = true; nil } ->{ called = true; nil },
]) ])
run_example(ErroredExample, conditions: conditions) run_example(ErroredExample, conditions: conditions)
called.should be_false called.should be_false