diff --git a/test/test_phyx.js b/test/test_phyx.js index 051263f..b32f83f 100644 --- a/test/test_phyx.js +++ b/test/test_phyx.js @@ -80,7 +80,7 @@ describe('Test PHYX files in repository', function() { // Let's write the JSON-LD into a file for debugging. fs.writeFileSync( - filename.replace('paper.json', 'paper_as_owl.json'), + filename.replace(/.json$/, '_as_owl.json'), jsonld ); } catch(ex) {