Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

"sbt tut" fail #33

Open
xuwei-k opened this issue Apr 22, 2019 · 1 comment
Open

"sbt tut" fail #33

xuwei-k opened this issue Apr 22, 2019 · 1 comment

Comments

@xuwei-k
Copy link
Member

xuwei-k commented Apr 22, 2019

due to #28

https://travis-ci.org/scalaz/testz/builds/447113228

[tut] *** Error reported at /home/travis/build/scalaz/testz/docs/src/main/tut/docs/01-first-example.md:15
<console>:12: error: object Harness is not a member of package testz
       import testz.{Harness, PureHarness, assert}
              ^
[tut] *** Error reported at /home/travis/build/scalaz/testz/docs/src/main/tut/docs/01-first-example.md:33
<console>:13: error: not found: type Harness
         def tests[T](harness: Harness[T]): T = {
                               ^
<console>:15: error: not found: value section
           section(
           ^
<console>:16: error: not found: value test
             test("say 1 + 1 == 2") { () =>
             ^
<console>:19: error: not found: value test
             test("say 2 * 2 == 4") { () =>
             ^
[tut] compiling: /home/travis/build/scalaz/testz/docs/src/main/tut/docs/02-core.md
[tut] compiling: /home/travis/build/scalaz/testz/docs/src/main/tut/docs/03-resource.md
[tut] *** Error reported at /home/travis/build/scalaz/testz/docs/src/main/tut/docs/03-resource.md:78
<console>:16: error: not found: type ResourceHarness
         def tests[T[_]](harness: ResourceHarness[T]): T[Unit] = {
                                  ^
<console>:18: error: not found: value section
           section(
           ^
<console>:19: error: not found: value allocate
             allocate(() => List(1, 2, 3, 4))(
             ^
<console>:20: error: not found: value test
               test("the list should be ascending") {
               ^
<console>:22: error: value sorted is not a member of Any
                   assert(list == list.sorted)
                                       ^
<console>:25: error: not found: value test
             test("doesn't see the list, it's not referenced by the time the test executes") {
             ^
[tut] compiling: /home/travis/build/scalaz/testz/docs/src/main/tut/docs/04-stdlib.md
[tut] *** Error reported at /home/travis/build/scalaz/testz/docs/src/main/tut/docs/04-stdlib.md:81
<console>:21: error: not found: type Harness
         ): Harness[Uses[Unit]] =
            ^
<console>:22: error: not found: value ResourceHarness
           ResourceHarness.toHarness(makeFromPrinterR(output))
           ^
<console>:26: error: not found: type ResourceHarness
         ): ResourceHarness[Uses] =
            ^
<console>:27: error: not found: type ResourceHarness
           new ResourceHarness[Uses] {
               ^
<console>:28: warning: private method test in <$anon: <error>> is never used
             override def test[R]
                          ^
<console>:43: warning: private method namedSection in <$anon: <error>> is never used
             override def namedSection[R]
                          ^
<console>:54: warning: private method section in <$anon: <error>> is never used
             override def section[R]
                          ^
<console>:63: warning: private method allocate in <$anon: <error>> is never used
             override def allocate[R, I]
                          ^
<console>:20: warning: parameter value output in method makeFromPrinter is never used
           output: (Result, List[String]) => Unit
           ^
@xuwei-k
Copy link
Member Author

xuwei-k commented Jun 15, 2019

7beaad5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants