summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/anki-note-builder-test-results.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary1/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary2/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary2/kanji_bank_1.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary3/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary3/kanji_meta_bank_1.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary4/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary4/tag_bank_1.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary5/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary5/term_bank_1.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary6/index.json2
-rw-r--r--test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/index.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/kanji_bank_1.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/kanji_meta_bank_1.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/tag_bank_1.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/tag_bank_2.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/tag_bank_3.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_bank_1.json2
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json2
-rw-r--r--test/data/translator-test-inputs.json2
-rw-r--r--test/data/translator-test-results-note-data1.json2
-rw-r--r--test/data/translator-test-results.json2
-rw-r--r--test/data/vitest.write.config.json2
-rw-r--r--test/jsconfig.json2
-rw-r--r--test/language-transformer-cycles.test.js6
26 files changed, 28 insertions, 28 deletions
diff --git a/test/data/anki-note-builder-test-results.json b/test/data/anki-note-builder-test-results.json
index 7dda6200..a2dd0923 100644
--- a/test/data/anki-note-builder-test-results.json
+++ b/test/data/anki-note-builder-test-results.json
@@ -3799,4 +3799,4 @@
}
]
}
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/invalid-dictionary1/index.json b/test/data/dictionaries/invalid-dictionary1/index.json
index 1be3b360..f4c7cf27 100644
--- a/test/data/dictionaries/invalid-dictionary1/index.json
+++ b/test/data/dictionaries/invalid-dictionary1/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Invalid format number"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary2/index.json b/test/data/dictionaries/invalid-dictionary2/index.json
index ba2cc669..ef7f8703 100644
--- a/test/data/dictionaries/invalid-dictionary2/index.json
+++ b/test/data/dictionaries/invalid-dictionary2/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Empty entry in kanji bank"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary2/kanji_bank_1.json b/test/data/dictionaries/invalid-dictionary2/kanji_bank_1.json
index 5825bcac..eab343f5 100644
--- a/test/data/dictionaries/invalid-dictionary2/kanji_bank_1.json
+++ b/test/data/dictionaries/invalid-dictionary2/kanji_bank_1.json
@@ -1,3 +1,3 @@
[
[]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/invalid-dictionary3/index.json b/test/data/dictionaries/invalid-dictionary3/index.json
index f23fa3f0..770d043e 100644
--- a/test/data/dictionaries/invalid-dictionary3/index.json
+++ b/test/data/dictionaries/invalid-dictionary3/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Invalid type entry in kanji meta bank"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary3/kanji_meta_bank_1.json b/test/data/dictionaries/invalid-dictionary3/kanji_meta_bank_1.json
index 9e26dfee..0967ef42 100644
--- a/test/data/dictionaries/invalid-dictionary3/kanji_meta_bank_1.json
+++ b/test/data/dictionaries/invalid-dictionary3/kanji_meta_bank_1.json
@@ -1 +1 @@
-{} \ No newline at end of file
+{}
diff --git a/test/data/dictionaries/invalid-dictionary4/index.json b/test/data/dictionaries/invalid-dictionary4/index.json
index 542791d7..ed64a04f 100644
--- a/test/data/dictionaries/invalid-dictionary4/index.json
+++ b/test/data/dictionaries/invalid-dictionary4/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Invalid value as part of a tag bank entry"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary4/tag_bank_1.json b/test/data/dictionaries/invalid-dictionary4/tag_bank_1.json
index 4f19b476..1b4ed7e7 100644
--- a/test/data/dictionaries/invalid-dictionary4/tag_bank_1.json
+++ b/test/data/dictionaries/invalid-dictionary4/tag_bank_1.json
@@ -1,3 +1,3 @@
[
[{"invalid": true}, "category1", 0, "tag1 notes", 0]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/invalid-dictionary5/index.json b/test/data/dictionaries/invalid-dictionary5/index.json
index e0d0f00e..fa128a89 100644
--- a/test/data/dictionaries/invalid-dictionary5/index.json
+++ b/test/data/dictionaries/invalid-dictionary5/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Invalid type as part of a term bank entry"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary5/term_bank_1.json b/test/data/dictionaries/invalid-dictionary5/term_bank_1.json
index 7288a996..79b86a1e 100644
--- a/test/data/dictionaries/invalid-dictionary5/term_bank_1.json
+++ b/test/data/dictionaries/invalid-dictionary5/term_bank_1.json
@@ -1,3 +1,3 @@
[
["打", "だ", "tag1 tag2", "", 2, false, 1, "tag3 tag4 tag5"]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/invalid-dictionary6/index.json b/test/data/dictionaries/invalid-dictionary6/index.json
index b91acca3..595e3fe4 100644
--- a/test/data/dictionaries/invalid-dictionary6/index.json
+++ b/test/data/dictionaries/invalid-dictionary6/index.json
@@ -4,4 +4,4 @@
"revision": "test",
"sequenced": true,
"description": "Invalid root type for term meta bank"
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json b/test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json
index 02e4a84d..c508d536 100644
--- a/test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json
+++ b/test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json
@@ -1 +1 @@
-false \ No newline at end of file
+false
diff --git a/test/data/dictionaries/valid-dictionary1/index.json b/test/data/dictionaries/valid-dictionary1/index.json
index 3034bf38..a926fa92 100644
--- a/test/data/dictionaries/valid-dictionary1/index.json
+++ b/test/data/dictionaries/valid-dictionary1/index.json
@@ -3,4 +3,4 @@
"format": 3,
"revision": "test",
"sequenced": true
-} \ No newline at end of file
+}
diff --git a/test/data/dictionaries/valid-dictionary1/kanji_bank_1.json b/test/data/dictionaries/valid-dictionary1/kanji_bank_1.json
index e1e81fc4..313eab3d 100644
--- a/test/data/dictionaries/valid-dictionary1/kanji_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/kanji_bank_1.json
@@ -39,4 +39,4 @@
"kstat5": "kanji stat 5 value"
}
]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/kanji_meta_bank_1.json b/test/data/dictionaries/valid-dictionary1/kanji_meta_bank_1.json
index 56b91713..c4dae207 100644
--- a/test/data/dictionaries/valid-dictionary1/kanji_meta_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/kanji_meta_bank_1.json
@@ -5,4 +5,4 @@
["込", "freq", "four (4)"],
["打", "freq", {"value": 5}],
["込", "freq", {"value": 6, "displayValue": "six"}]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/tag_bank_1.json b/test/data/dictionaries/valid-dictionary1/tag_bank_1.json
index 3cdc322e..718dfe20 100644
--- a/test/data/dictionaries/valid-dictionary1/tag_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/tag_bank_1.json
@@ -5,4 +5,4 @@
["n", "partOfSpeech", 0, "noun", 0],
["vt", "partOfSpeech", 0, "transitive verb", 0],
["abbr", "default", 0, "abbreviation", 0]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/tag_bank_2.json b/test/data/dictionaries/valid-dictionary1/tag_bank_2.json
index 34a9905d..06049eb8 100644
--- a/test/data/dictionaries/valid-dictionary1/tag_bank_2.json
+++ b/test/data/dictionaries/valid-dictionary1/tag_bank_2.json
@@ -6,4 +6,4 @@
["kstat3", "index", 0, "kanji stat 3", 0],
["kstat4", "misc", 0, "kanji stat 4", 0],
["kstat5", "misc", 0, "kanji stat 5", 0]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/tag_bank_3.json b/test/data/dictionaries/valid-dictionary1/tag_bank_3.json
index b5970584..04d86777 100644
--- a/test/data/dictionaries/valid-dictionary1/tag_bank_3.json
+++ b/test/data/dictionaries/valid-dictionary1/tag_bank_3.json
@@ -1,4 +1,4 @@
[
["P1", "default", 0, "example pitch tag 1", 0],
["P2", "default", 0, "example pitch tag 2", 0]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
index ae32d146..03a9900c 100644
--- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
@@ -342,4 +342,4 @@
["のたもうた", "のたもうた", "", "", 1, [["のたまう", ["past"]]], 16, ""],
["39", "さんきゅう", "", "", 1, ["sankyuu definition"], 17, ""],
["凄い", "すごい", "adj-i", "adj-i", 1, ["sugoi definition"], 18, ""]
-] \ No newline at end of file
+]
diff --git a/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json
index 56296648..eb763d39 100644
--- a/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_meta_bank_1.json
@@ -119,4 +119,4 @@
]
}
]
-] \ No newline at end of file
+]
diff --git a/test/data/translator-test-inputs.json b/test/data/translator-test-inputs.json
index 2b8bebb3..03ec938a 100644
--- a/test/data/translator-test-inputs.json
+++ b/test/data/translator-test-inputs.json
@@ -442,4 +442,4 @@
]
}
]
-} \ No newline at end of file
+}
diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json
index 1c210862..f84f28a4 100644
--- a/test/data/translator-test-results-note-data1.json
+++ b/test/data/translator-test-results-note-data1.json
@@ -32392,4 +32392,4 @@
}
]
}
-] \ No newline at end of file
+]
diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json
index 925d36cf..e11cb4a9 100644
--- a/test/data/translator-test-results.json
+++ b/test/data/translator-test-results.json
@@ -18268,4 +18268,4 @@
}
]
}
-] \ No newline at end of file
+]
diff --git a/test/data/vitest.write.config.json b/test/data/vitest.write.config.json
index ecb4bd84..7de11ae9 100644
--- a/test/data/vitest.write.config.json
+++ b/test/data/vitest.write.config.json
@@ -4,4 +4,4 @@
"../**/*.write.js"
]
}
-} \ No newline at end of file
+}
diff --git a/test/jsconfig.json b/test/jsconfig.json
index bc8b8a90..4f7f175b 100644
--- a/test/jsconfig.json
+++ b/test/jsconfig.json
@@ -41,4 +41,4 @@
"../node_modules",
"../dev/lib"
]
-} \ No newline at end of file
+}
diff --git a/test/language-transformer-cycles.test.js b/test/language-transformer-cycles.test.js
index 76bee83e..b778c188 100644
--- a/test/language-transformer-cycles.test.js
+++ b/test/language-transformer-cycles.test.js
@@ -154,8 +154,8 @@ describe('Deinflection data', () => {
for (const item of newDeinflectionNode.getHistory()) {
stack.push(
item.ruleNode === null ?
- `${item.text} (start)` :
- `${item.text} (${item.ruleNode.groupName}, ${item.ruleNode.rule.conditionsIn.join(',')}=>${item.ruleNode.rule.conditionsOut.join(',')}, ${item.ruleNode.rule.suffixIn}=>${item.ruleNode.rule.suffixOut})`
+ `${item.text} (start)` :
+ `${item.text} (${item.ruleNode.groupName}, ${item.ruleNode.rule.conditionsIn.join(',')}=>${item.ruleNode.rule.conditionsOut.join(',')}, ${item.ruleNode.rule.suffixIn}=>${item.ruleNode.rule.suffixOut})`
);
}
const message = `Cycle detected:\n ${stack.join('\n ')}`;
@@ -167,4 +167,4 @@ describe('Deinflection data', () => {
}
}
});
-}); \ No newline at end of file
+});