Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 14, 2023
2 parents b10c7cd + 36a404d commit 0925e72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private fun LeftAndRightCycleway.applyOnewayNotForCyclists(tags: Tags, isLeftHan
if (tags["oneway:bicycle"] == "no") {
tags.remove("oneway:bicycle")
}
} else if(isNotOnewayForCyclistsNow == true) {
} else if (isNotOnewayForCyclistsNow == true) {
tags["oneway:bicycle"] = "no"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ class CyclewayKtTest {
}
}


@Test fun `oneway is oneway for cyclists when no cycleway goes in contra-flow direction`() {
val forwardTrack = CyclewayAndDirection(TRACK, FORWARD)
val backwardTrack = CyclewayAndDirection(TRACK, BACKWARD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ open class UpdateAppTranslationCompletenessTask : DefaultTask() {
if (exportLanguages != null && !exportLanguages.any { it == locale } && locale != Locale.US) {
if (completedPercentage >= mustIncludeLanguagePercentage) {
throw Exception(
"App has been translated ${completedPercentage}% to " +
"App has been translated $completedPercentage% to " +
"${locale.displayLanguage} (${locale.language}) " +
" but the language is not included in the app."
)
Expand Down

0 comments on commit 0925e72

Please sign in to comment.