pike.git / src / post_modules / _Sass / simple-test / 02-syntax-error / test.pike

version» Context lines:

pike.git/src/post_modules/_Sass/simple-test/02-syntax-error/test.pike:1: + inherit "../test.pike";    -  + constant BASE = __DIR__; +  + int run() + { +  werror("Run in test: %s\n", basename(BASE)); +  +  compiler->include_path = BASE; +  +  mixed err = catch { +  compiler->compile_file(combine_path(BASE, "input.scss"), +  combine_path(BASE, "output.css")); +  }; +  +  werror(">>> Handle compile_file() error\n"); +  handle_err(err); +  +  string cont = Stdio.read_file(combine_path(BASE, "input.scss")); +  +  err = catch { +  compiler->compile_string(cont); +  }; +  +  werror("\n>>> Handle compile_string() error\n"); +  handle_err(err); + }   Newline at end of file added.