diff --git a/test/test_phyx.js b/test/test_phyx.js index 4e468b3..ef27b66 100644 --- a/test/test_phyx.js +++ b/test/test_phyx.js @@ -99,7 +99,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) {