Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Failing test for atomist-attic/rug#523
Browse files Browse the repository at this point in the history
  • Loading branch information
kipz authored and alankstewart committed Apr 25, 2017
1 parent 30b2fee commit d1d6a74
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/test/scala/com/atomist/source/ArtifactContainerTest.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.atomist.source

import org.scalatest.{FlatSpec, Matchers}

class ArtifactContainerTest extends FlatSpec with Matchers{

it should "find files in /" in {
val src = SimpleFileBasedArtifactSource(
StringFileArtifact("Foo.java",
"""
|public class Foo {
|}
""".stripMargin)
)
assert(src.findFile("/Foo.java").nonEmpty)
}
}

0 comments on commit d1d6a74

Please sign in to comment.