diff --git a/scripts/write_v2_testfile.js b/scripts/write_v2_testfile.js index 0301aff44..3f8ed9c0f 100644 --- a/scripts/write_v2_testfile.js +++ b/scripts/write_v2_testfile.js @@ -57,7 +57,7 @@ function writeTestFileIfNotExists(filePath) { testdataFileName = "main.rb"; } - const testdataFilePath = path.join(filePath, testdataFileName); + const testdataFilePath = path.join(filePath, "testdata", testdataFileName); // write testdata file if (!fs.existsSync(testdataFilePath)) {