Cleanup
This commit is contained in:
@@ -124,23 +124,13 @@ proc foldOrg*(x: OrgBuilderResult): string =
|
||||
# echo acc.unsafeGet().tree[^1]
|
||||
|
||||
when isMainModule:
|
||||
# import nimprof
|
||||
# import timeit
|
||||
|
||||
let test1 = """* TODO Level 1
|
||||
Some stuff inbetween
|
||||
let test1 = """
|
||||
* TODO Level 1
|
||||
|
||||
** DONE Level 2 """
|
||||
Some text inbetween
|
||||
|
||||
let test1_2 = """* TODO Failing
|
||||
|
||||
*
|
||||
** Level 2"""
|
||||
|
||||
# let test2 = readFile("/home/floscr/Documents/Org/Bookmarks/bookmarks.org")
|
||||
# let test2 = readFile("/tmp/gtd.org")
|
||||
|
||||
var acc = makeOrg(test1)
|
||||
** DONE Level 2
|
||||
"""
|
||||
|
||||
let acc = makeOrg(test1)
|
||||
echo acc.foldOrg()
|
||||
# echo acc.unsafeGet().tree[^1]
|
||||
|
||||
Reference in New Issue
Block a user