Skip to content

Commit

Permalink
#ESW-239: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kpritam committed Oct 7, 2019
1 parent a50d12c commit 8510886
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

/**
* Demo java API
*/
public interface IApi {
/**
* Reads data from file in string
Expand Down
3 changes: 0 additions & 3 deletions src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Demo scala API
*/
trait Api {

/**
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/sbt-docs/site/test
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ $ must-mirror target/site/sbt-docs/1.0.0/css/page.css expected/css/page.css
$ must-mirror target/site/sbt-docs/1.0.0/images/a.png expected/images/a.png

# scaladoc and javadoc
$ exists target/site/sbt-docs/0.1-SNAPSHOT/api/scala/Api.html
$ exists target/site/sbt-docs/0.1-SNAPSHOT/api/java/IApi.html
$ exists target/site/sbt-docs/1.0.0/api/scala/Api.html
$ exists target/site/sbt-docs/1.0.0/api/java/IApi.html

# Verify files get generated at top level folder
$ must-mirror target/site/sbt-docs/a.html expected/a.html
Expand Down

0 comments on commit 8510886

Please sign in to comment.