Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
loveleif committed Dec 19, 2024
1 parent 0361cc9 commit 7a508bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ package org.opencypher.tools.tck.api
import io.cucumber.core.gherkin
import io.cucumber.core.gherkin.DataTableArgument
import io.cucumber.core.gherkin.DocStringArgument
import io.cucumber.core.gherkin.messages.GherkinMessagesFeatureParser
import io.cucumber.core.gherkin.vintage.GherkinVintageFeatureParser
import org.opencypher.tools.tck.SideEffectOps.Diff
import org.opencypher.tools.tck._
Expand Down Expand Up @@ -58,7 +59,7 @@ object CypherTCK {
val featuresPath = "/features"
val featureSuffix = ".feature"

private lazy val parser = new GherkinVintageFeatureParser()
private lazy val parser = new GherkinMessagesFeatureParser()

/**
* Provides all the scenarios in the openCypher TCK.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ case object PickleStep {
case class PickleLocation(line: Int, column: Int)

case object PickleLocation {
def apply(location: io.cucumber.core.gherkin.Location): PickleLocation = {
def apply(location: io.cucumber.plugin.event.Location): PickleLocation = {
PickleLocation(location.getLine, location.getColumn)
}
}
Expand Down

0 comments on commit 7a508bf

Please sign in to comment.