updated test

This commit is contained in:
Philipp Kunz 2015-11-03 20:19:46 +01:00
parent 44aed02dd3
commit e55e30bdb3
3 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,3 @@
var smartfile = require("./index.js"); var smartfile = require("./index.js");
console.log(smartfile.readFileToString("./test/mytest.txt")); var pr = require("pushrocks");
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt"));

View File

@ -1 +1 @@
This is some test text. If this is displayed when running "npm test", then the test has succeeded. This is some test text stored in ./test/mytest.txt -> If this is displayed when running "npm test", then the test has succeeded.

View File

@ -1,2 +1,3 @@
var smartfile = require("./index.js"); var smartfile = require("./index.js");
console.log(smartfile.readFileToString("./test/mytest.txt")); var pr = require("pushrocks")
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt"));