Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
hMatoba committed Aug 28, 2015
1 parent ee67417 commit 7f8a93a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,16 @@ var newData = piexif.insert(exifbytes, data);
var exifObj2 = piexif.load(newData);

try {
delete exifObj2["0th"][34665];
delete exifObj2["0th"][34853];
delete exifObj2["Interop"];
delete exifObj2["1st"];
delete exifObj2["thumbnail"];
phestum.assertEqual(exifObj, exifObj2);
console.log("Successed Nodejs test.");
process.exit();
} catch (e){
console.log(e);
console.log("Failed Nodejs test.");
process.exit(1);
}

0 comments on commit 7f8a93a

Please sign in to comment.