Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
We're closing the switches ofc

Co-authored-by: Daniel Feismann <[email protected]>
  • Loading branch information
sebastian-peter and danielfeismann authored Aug 14, 2024
1 parent ce61143 commit cee80b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/edu/ie3/simona/model/grid/GridSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ class GridSpec
// add the second switch + enable switches
override val switches: Set[SwitchModel] = super.switches + secondSwitch
switches.foreach(_.enable())
// open the switches
// close the switches
switches.foreach(_.close())

// get the grid from the raw data
Expand Down Expand Up @@ -526,7 +526,7 @@ class GridSpec
),
)
switches.foreach(_.enable())
// open the switches
// close the switches
switches.foreach(_.close())

// get the grid from the raw data
Expand Down

0 comments on commit cee80b9

Please sign in to comment.