Skip to content
This repository was archived by the owner on Aug 17, 2019. It is now read-only.

Commit 3541422

Browse files
committed
Doc correction
1 parent 06132b3 commit 3541422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/com/ckkloverdos/convert/ConvertersTest.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package com.ckkloverdos.convert
1919
import org.junit.Assert
2020
import org.junit.Test
2121
import Assert.{assertEquals, assertTrue, fail}
22-
import com.ckkloverdos.maybe.{Maybe, Failed, Just, NoVal}
22+
import com.ckkloverdos.maybe.{Maybe, Just, NoVal}
2323
import java.nio.CharBuffer
2424

2525
/**
@@ -83,7 +83,7 @@ class ConvertersTest {
8383
// All CharSequences go to Int via this one
8484
builder.register[CharSequence, Int](false) { _.toString.toInt }
8585
// But Strings (though they are CharSequences) are handled differently
86-
builder.register[String, Int](true) { cb => 555 /* always return 555 for charbuffers */}
86+
builder.register[String, Int](true) { cb => 555 /* always return 555 for strings */}
8787

8888
val converters = builder.build
8989
val _value1 = converters.convertToInt(CharBuffer.wrap("1"))

0 commit comments

Comments
 (0)