Skip to content

Commit 070a9ac

Browse files
authored
temporarily change a test to fail
1 parent 5168228 commit 070a9ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nimib/blocks.nim

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ func nbNormalize*(text: string): string =
1717
# note that: '\c' == '\r' and '\l' == '\n'
1818

1919
template newNbBlock*(cmd: string, readCode: static[bool], nbDoc, nbBlock, body, blockImpl: untyped) =
20-
stdout.write "[nimib] ", nbDoc.blocks.len, " ", cmd, ": "
20+
# stdout.write "[nimib] ", nbDoc.blocks.len, " ", cmd, ": "
2121
nbBlock = NbBlock(command: cmd, context: newContext(searchDirs = @[], partials = nbDoc.partials))
2222
when readCode:
2323
nbBlock.code = nbNormalize:
2424
when defined(nimibCodeFromAst):
2525
toStr(body)
2626
else:
2727
getCodeAsInSource(nbDoc.source, cmd, body)
28-
echo peekFirstLineOf(nbBlock.code)
28+
# echo peekFirstLineOf(nbBlock.code)
2929
blockImpl
30-
if len(nbBlock.output) > 0: echo " -> ", peekFirstLineOf(nbBlock.output)
30+
# if len(nbBlock.output) > 0: echo " -> ", peekFirstLineOf(nbBlock.output)
3131
nbBlock.context["code"] = nbBlock.code
3232
nbBlock.context["output"] = nbBlock.output.dup(removeSuffix)
3333
nbDoc.blocks.add nbBlock

0 commit comments

Comments
 (0)