Skip to content

Commit b6269f0

Browse files
committed
Tweaks
1 parent 0fde8d7 commit b6269f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scala-git/src/main/scala/com/madgag/git/model/FileName.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object FileName {
2424
object ImplicitConversions {
2525
import language.implicitConversions
2626

27-
implicit def string2FileName(str: String) = new FileName(Constants.encode(str))
27+
implicit def string2FileName(str: String) = FileName(str)
2828

2929
implicit def filename2String(fileName: FileName) = fileName.string
3030
}

scala-git/src/test/scala/com/madgag/git/model/TreeEntrySpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class TreeEntrySpec extends Specification {
2828

2929
"Tree entry ordering" should {
3030
"match ordering used by Git" in {
31-
a(TREE, "agit-test-utils") should be < (a(TREE, "agit"))
31+
a(TREE, "agit-test-utils") should be < a(TREE, "agit")
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)