Skip to content

Commit

Permalink
Added a few TODO notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rlegendi committed May 31, 2012
1 parent e777bce commit 30ea267
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ Scala stuff I found confusing first
(scala, sbt version-pending builds)
- Mixing 4 build tools (sbt/ivy/mvn/tychoo)

Incomplete features
-------------------

- That `"Fold Stack Trace"` buttion on the View: what should it do?
- Error reporting: e.g., "a" must be_==("b") doesn't write the output on the View

2 changes: 2 additions & 0 deletions src/main/scala/org/scalatest/specs2/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import org.specs2.specification.SpecificationStructure
*
* @author rlegendi
*/
private[specs2]
object Utils {

/**
Expand All @@ -21,6 +22,7 @@ object Utils {
* <i>cannot be null</i>
* @return a decorated version of the given <code>spec</code> (if applicable)
*/
// TODO Include .title (see UnitSpec example)
def suiteNameFor(spec: SpecificationStructure): String = {
if (null == spec) throw new IllegalArgumentException("spec == null")

Expand Down

0 comments on commit 30ea267

Please sign in to comment.