From 511b9f1d2e71f5b9347d6f0533be5c92ac3cdb22 Mon Sep 17 00:00:00 2001 From: "J. T. L" Date: Mon, 19 Aug 2013 11:26:04 -0400 Subject: [PATCH] Let's be consistent in our directory naming, shall we? --- test.js | 4 ++-- {test-cases => test_cases}/en.json | 0 {test-cases => test_cases}/nl.json | 0 {test-cases => test_cases}/tet.json | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename {test-cases => test_cases}/en.json (100%) rename {test-cases => test_cases}/nl.json (100%) rename {test-cases => test_cases}/tet.json (100%) diff --git a/test.js b/test.js index 063326f6..150a3df2 100644 --- a/test.js +++ b/test.js @@ -113,7 +113,7 @@ describe("translation", function() { }); describe("language", function() { - fs.readdirSync(path.join(__dirname, "test-cases")).forEach(function(lang) { + fs.readdirSync(path.join(__dirname, "test_cases")).forEach(function(lang) { if(lang.charAt(0) === ".") return; @@ -122,7 +122,7 @@ describe("translation", function() { describe(name, function() { var cases = JSON.parse( - fs.readFileSync(path.join(__dirname, "test-cases", lang), "utf8") + fs.readFileSync(path.join(__dirname, "test_cases", lang), "utf8") ); Object.keys(cases).forEach(function(summary) { diff --git a/test-cases/en.json b/test_cases/en.json similarity index 100% rename from test-cases/en.json rename to test_cases/en.json diff --git a/test-cases/nl.json b/test_cases/nl.json similarity index 100% rename from test-cases/nl.json rename to test_cases/nl.json diff --git a/test-cases/tet.json b/test_cases/tet.json similarity index 100% rename from test-cases/tet.json rename to test_cases/tet.json