Mercurial > hg > Members > toma > Jungle-haskell
changeset 13:74a4c7cdc50b
fix test.hs
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 22 Jan 2014 14:22:43 +0900 |
parents | a30ec665df9d |
children | 9df5178e867c |
files | test/test.hs |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test.hs Tue Jan 21 16:36:33 2014 +0900 +++ b/test/test.hs Wed Jan 22 14:22:43 2014 +0900 @@ -4,11 +4,9 @@ import Data.Maybe import qualified Data.ByteString.Lazy.Char8 as B -jungle = createJungle - tree = do - a <- createTree jungle "test" - node <- getRootNode a "test" + jungle <- createTree createJungle "test" + node <- getRootNode jungle "test" return (add node) addc path pos node = addNewChildAt node path pos