Added Item.toString() and moved save logic there.
This commit is contained in:
@@ -7,9 +7,7 @@ po.load('text.po', function(_po){
|
||||
_po.save('copy.po', function(){
|
||||
var orig = fs.readFileSync('text.po');
|
||||
var data = fs.readFileSync('copy.po');
|
||||
|
||||
console.log(data == orig);
|
||||
assert.equal(orig, data, 'Saved data is identical to original.');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user