Skip to content

Commit

Permalink
fix: Fix isCarElectric
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent d7a9a32 commit 8992df7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class HybridTestObjectSwiftKotlin : HybridTestObjectSwiftKotlinSpec {
}

func isCarElectric(car: Car) throws -> Bool {
return car.powertrain == .gas
return car.powertrain == .electric
}

func getDriver(car: Car) throws -> Person? {
Expand Down

0 comments on commit 8992df7

Please sign in to comment.