Annotation of parser3/tests/345.html, revision 1.2
1.1 moko 1: @main[]
2: $sDir[outputs/345]
3: $dDir[outputs/345.test]
4: $f[test.txt]
5:
6: $s[test]
7: ^s.save[$sDir/$f]
8: ^file:move[$sDir/$f;$dDir/$f; $.keep-empty-dirs(true) ]
9:
10: ^file:delete[$sDir/404.txt; $.exception(false) ]
11: ^file:delete[$dDir/$f; $.keep-empty-dirs(true) ]
12:
13: 1. ^if(-d $sDir){ok}
14: 2. ^if(-d $dDir){ok}
15: 3. ^if(-d "$dDir/$f"){}{ok}
16:
17: ^s.save[$sDir/$f]
18: ^file:move[$sDir/$f;$dDir/$f]
19: ^file:delete[$dDir/$f]
20:
21: 4. ^if(-d $sDir){}{ok}
22: 5. ^if(-d $dDir){}{ok}
23:
1.2 ! moko 24: 6. ^try-catch{ ^file:delete[name; $.no-such-option[] ] }
! 25: 7. ^try-catch{ ^file:move[name;name; $.no-such-option[] ] }
E-mail: