Skip to content

Commit

Permalink
fix test for intentional deep indentation #bruce #james #time 10m
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jul 24, 2024
1 parent 5f9fa15 commit 18c01ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/scala/manuscript/ManuscriptSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,13 @@ object ManuscriptSpec extends ZIOSpecDefault{
)
})*
),
// TODO we have one part of Composability which intentionally shows deep nesting, should we somehow exclude that from this test?
test("no deep indentation") {
defer:
assertTrue(
! chapters.exists(path =>
os.read.lines(path).exists(line =>
line.startsWith(" ")
line.startsWith(" ")
)
)
)
Expand Down

0 comments on commit 18c01ff

Please sign in to comment.