       '!**/include/**'
     ]
     target = [
-      "#{$$.path.base}/source"
-      "#{$$.path.home}/opt"
-      "!#{$$.path.base}/**/include/**"
+      $$.fn.normalizePath "#{$$.path.base}/source"
+      $$.fn.normalizePath "#{$$.path.home}/opt"
+      $$.fn.normalizePath "!#{$$.path.base}/**/include/**"
     ]
 
     res = $$.fn.formatPath source


    source = '/opt/a/b/../c'
    target = [
      '/opt/a/c'
    ]

    res = $$.fn.formatPath source

  it "$$.fn.normalizePath('./a/b/../c')", ->

    source = './a/b/../c'
    target = $$.fn.normalizePath "#{$$.path.base}/a/c"

    res = $$.fn.normalizePath source

